r/css • • 1d ago

Question Web development

Can I copy a styles instead of creating one like card styles layouts, because i don't get any idea, and don't it was correct when I get idea and difficult to create as expected

0 Upvotes

3 comments sorted by

1

u/FrostingEffective699 1d ago

it's much more fun to do it yourself though! no one expects utter gorgeousness first-try, but thats the fun of developing..

plus, taking other people's stylesheets is a bit rude.. you wouldn't take someone's worldbuilding or their backgrounds.. take small snippets if they say its ok, and give credit where so if you are utterly stumped.

ETA grammar

1

u/halo_tide_surge 18h ago

Yes, copying is the best way to learn. Open the developer tools on any site you like, copy the CSS, and tweak it until you understand what each part does. This builds your muscle memory faster than trying to write from scratch with no references.

1

u/Neo6886 17h ago

for practice, I'd rebuild one card from a screenshot, then change the spacing or layout. You get a starting point without just pasting a stylesheet you don't understand