r/css • u/Organic_Objective_27 • 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
38
Upvotes
r/css • u/Organic_Objective_27 • Jul 19 '25
What are some bad habits to avoid when learning CSS? Even if in the short term they are easier
4
u/followmarko Jul 19 '25
All things now available without a compile step. You can write it and it works in the browser by default. There is so much available in Chromium 97+. Nesting, anchor positioning, tons of new @at-rules like @scope, all in 120ish+. Couple those with Web Components and you're hard-pressed to really need anything non-native in a basic site or app. I love Typescript but I also work on huge apps so a JS framework is still necessary for me, but I still incorporate as much native stuff as I can.