2 ms·
I held the same belief for a long time, but now I think that CSS isn't particularly in general, but can be very hard if a few core concepts are missing. The ma
by hobofan 8y ago
I held the same belief for a long time, but now I think that CSS isn't particularly in general, but can be very hard if a few core concepts are missing.
The main thing that personally made it really hard for me is that I totally forgot about the first thing you learn in CSS: _Cascading_ - Coming from saner languages, the concept that what is written at the bottom of the file has more meaning than what's at the top of the file, or even worse that the file that is included later in the HTML has more meaning (without much scoping, and sometimes unintuitive specificity of selectors), seemed bonkers to me (and still does to some degree). Once I internalized that, that solved 50% of my CSS problems.
Apart from my anecdotal stupidity, one of the best resources I found was "Learn CSS Layout the pedantic way"[0].
[0] http://book.mixu.net/css/ http://book.mixu.net/css/