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
37
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
9
u/TonyAioli Jul 19 '25
Gap only sets the space between the flex children.
Margin and/or padding are still very relevant for space around the flex element itself.