G
4

Shoutout to the guy who told me my CSS was too bloated

Someone in a code review pointed out I had like 400 lines of CSS for a simple landing page. Turns out I was using class names for every single paragraph instead of just styling the parent div. Has anyone else had a similar wake-up call about overcomplicating their styling?
1 comments

Log in to join the discussion

Log In
1 Comment
jordans18
jordans181mo ago
Yeah I read somewhere that most CSS problems come from overthinking things. Simple parent selectors usually do the job.
3