Hello HN!<p>was wondering if you could recommend up-to-date books, similar material on CSS which go over best practices, advanced topics. For some reason they are hard to find. Thanks!
CSS is an art in a very literal sense. Once you know the basic technique a book won't help you as much as seeing examples in the wild and trying to reverse engineer them. To learn the nitty-gritty nuts and bolts of CSS, try reading the CSS-Tricks blog and digging into the documentation on MDN.<p>Finally, to truly master CSS, learn the art of brevity. Most stylesheets I see are terribly bloated and over specified. Always ask, "Can I do this in fewer declarations? Do I really need all of these constraints? Is there a single style that will work smoothly across all sizes without media queries?"<p>Learn that, and you won't need a book.
You might try: <a href="https://abookapart.com/" rel="nofollow">https://abookapart.com/</a><p>I read their _Responsive Web Design_ title a while back and found it helpful and concise.<p>I see there's a CSS3 title written by the founder of Dribbble, for example, and updated in 2015.<p>This stuff changes so quickly, it may also be better to follow online, as others have suggested.
Eric Meyer wrote <i>CSS: The Definitive Guide</i>. The current edition {4th} was released section by section. It can be found here:<p><a href="http://www.oreilly.com/pub/au/52" rel="nofollow">http://www.oreilly.com/pub/au/52</a>
CSS Mastery is a good one - <a href="https://www.amazon.com/CSS-Mastery-Advanced-Standards-Solutions/dp/1430223979" rel="nofollow">https://www.amazon.com/CSS-Mastery-Advanced-Standards-Soluti...</a>
One of my favorite books is Lea Verou's CSS Secrets [0].<p>[0] <a href="http://shop.oreilly.com/product/0636920031123.do" rel="nofollow">http://shop.oreilly.com/product/0636920031123.do</a>
Not a book necessarily but I really like this css reference:<p><a href="http://tympanus.net/codrops/css_reference/" rel="nofollow">http://tympanus.net/codrops/css_reference/</a>