News for hackers. Stuff that matters.
Re:Ask HN: Best book or resource to REALLY grasp CSS? by andrei_says_ on Tuesday September 18, 2018 @07:28AM (#18014270)
I recommend www.css-tricks.com as a high-quality learning resource.

For structuring CSS (its cascading nature requires a lot of discipline esp. on larger projects) I recommend looking into BEM and SMACSS approaches.

If you choose to use CSS for layout, I recommend Susy grids v.2 — look up the Youtube of videos creating different responsive layouts with it. Really fantastic and a time saver. If you’re designing only for the latest browsers, look into CSS grid and flex box.

I recommend using the SCSS preprocessor — dry your code with variables and mixins, simplify complex calculations, manipulate color easily, incorporate a layout calculation framework like Susy etc.

CSS is powerful, complex and has variable compatibility across browsers. This means a lot of attention to detail and a good amount of hours solving edge cases.

Good luck!

There are no comments on this comment yet.