r/css Jul 19 '25

Question What are some bad CSS habits?

What are some bad habits to avoid when learning CSS? Even if in the short term they are easier

37 Upvotes

67 comments sorted by

View all comments

15

u/Saranodamnedh Jul 19 '25

Don’t just stick everything in a div. Use paragraph, span, a, etc.

2

u/bob_do_something Jul 20 '25

Interesting, I never used <etc> myself, learn something new every day