Things I wish I’d known about CSS
It always helped me to do an absolute basic concepts course on a new technology I learn.<p>Like, sure I can play around in Photoshop or Eclipse or CSS or JavaScript and find most things.<p>But a good 101 course is worth so much saved time.<p>Most of the stuff in that article was mentioned in a CSS box model course I did 10 years ago.<p>People were always baffled how I learned all this. Well, I read the docs!<p>They always assume every one learned like them, by trying stuff out all of the time, until they got something working. Then they iterate from project to project, until they sorted out the bad ideas and kept the good ones. With that approach, learning CSS would probably have taken me 10 times as long.<p>Sure this doesn&#x27;t teach you everything or makes you a pro in a week, but I always have the feeling people just cobble around for too long and should instead take at least a few days for a more structured learning approach.<p>What I didn&#x27;t learn about CSS in a basic course and what cost me multiple weeks to fix, was `pointer-events: none`. Keep this in mind when your clicks stop working after you pulled some new CSS ;)