6 ms·
Ask HN: Can you recommend advanced books on CSS?
Hello HN!
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!
- ryanlm 10y agoI think you're better off reading the box model spec.
- deleted 10y ago[deleted]
- zygimantasdev 10y agoThanks for the answer. I will check it - never thought of doing that!
- codegeek 10y agoNot a book necessarily but I really like this css reference: http://tympanus.net/codrops/css_reference/ http://tympanus.net/codrops/css_reference/
- zygimantasdev 10y agoLooks really good. Thank you!
- OtterCoder 10y agoCSS 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. 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?" Learn that, and you won't need a book.
- zygimantasdev 10y agoThanks for the tips! Already had been trying to understand css tricks - but always looking for more relevant information in one place - a book.
- purans 10y agoCSS Mastery is a good one - https://www.amazon.com/CSS-Mastery-Advanced-Standards-Solutions/dp/1430223979 https://www.amazon.com/CSS-Mastery-Advanced-Standards-Soluti...
- zygimantasdev 10y agoThanks - will check it out. Although from a quick glimpse at the reviews it seems a little bit outdated.
- adamnemecek 10y agoCheck out smacss https://smacss.com https://smacss.com
- zygimantasdev 10y agoWill check it out - thanks
- Hamatti 10y agoOne of my favorite books is Lea Verou's CSS Secrets [0]. [0] http://shop.oreilly.com/product/0636920031123.do http://shop.oreilly.com/product/0636920031123.do
- zygimantasdev 10y agoLooks really good. Thanks!
- brudgers 10y agoEric Meyer wrote CSS: The Definitive Guide. The current edition {4th} was released section by section. It can be found here: http://www.oreilly.com/pub/au/52 http://www.oreilly.com/pub/au/52
- percept 10y agoYou might try: https://abookapart.com/ https://abookapart.com/ I read their _Responsive Web Design_ title a while back and found it helpful and concise. I see there's a CSS3 title written by the founder of Dribbble, for example, and updated in 2015. This stuff changes so quickly, it may also be better to follow online, as others have suggested.