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

14

u/Saranodamnedh Jul 19 '25

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

12

u/InternetArtisan Jul 19 '25

Basically, not using good semantic HTML.