Copying an idea, a layout pattern or common CSS techniques is generally fine, because copyright protects specific expression, not ideas or methods. Copying a site's text, images, logo, icons, licensed fonts or its overall distinctive look can infringe copyright or trademark rights. This is general information, not legal advice; ask a lawyer for your situation.
What copyright covers
In the United States, copyright protects original works of authorship that are fixed in some form. The U.S. Copyright Office says it does not protect ideas, procedures, methods or systems, though it can protect the way they are expressed. Other countries differ in detail but follow similar lines.
For websites, that means a two-column layout, a sticky navbar or a card with a shadow are ideas anyone can use. A short CSS rule like display: flex; gap: 1rem is functional and common. Original photos, illustrations, written copy and larger blocks of creative code are much more likely to be protected.
What to leave out or replace
- Text and images. Write your own copy and use your own or properly licensed images.
- Logos, brand names and trade dress. These fall under trademark law. Making your product look like someone else's brand can confuse customers, which is what trademark law is about.
- Fonts. Many web fonts are licensed per site. Google Fonts are free to use; a paid font on another site is not yours to self-host.
- Icons and illustrations. Check the icon set's license, or swap in an open set.
- A whole page, copied one to one. Even if each part is small, copying a distinctive design wholesale is where problems start.
A sensible way to work
Copy to learn and to prototype: take the structure and styling of a component, then make it yours with your own content, colors, fonts and brand. PickCode copies structure and styling, and you stay responsible for what you ship. If a site's terms of use forbid copying, or the project is commercial and close to the original, get legal advice first.
Full walkthrough: Copy a whole section
Questions
Can I copy CSS from a website?
Common CSS techniques are generally not protected on their own. Large, creative bodies of code can be, so use copied CSS as a starting point and rewrite it into your own system.
Can I copy a website for a client project?
Use it as inspiration and rebuild with the client's own content and brand. Copying another business's look closely can raise trademark and unfair competition issues.
Is it fine for personal practice?
Recreating a design to learn, without publishing it as your own product, is a common way to practice. It is still a good habit to credit the original.
Is this legal advice?
No. Laws differ by country and by facts. Talk to a qualified lawyer before relying on any of this.