DEV Community

Discussion on: What makes CSS so hard?

Collapse
 
jwp profile image
John Peters

Css is hard: 'all I want is this thing to be here when that happens...' simple wish but requires internals knowledge and or methodology in the sea of recommendations of how to do it.

Sifting through the years of articles often leaves more confusion than before. This means we have to discover what works for us. That is complicated because different screen sizes render differently. Even different browsers render differently. Css offers few magic bullets for that problem. We are forced to manually code up Css for each size.

A few tools, such as SCSS and the Grid or Flexbox help but it still requires skills to gain mastery. Practice is the only way there along with reading sites
like CssTricks.

Finally, CSS is a DSL which I consider to be a half baked language. Because of this, it has virtually no ability to refactor. This is the primary reason for messy CSS and monolithic messes.

CSS is to me the worst part of all Website development. I dislike it greatly.