Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Taming Advanced CSS Selectors (smashingmagazine.com)
17 points by flapjack on Aug 17, 2009 | hide | past | favorite | 5 comments


How about a Hacker [News] version of this...

http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#select...

I don't generally engage in meta arguments, but HN is not the place for gentle Smashing Magazine intros to something as basic as CSS selectors. The only thing worth reading from the article might be the specificity portion, but it's usually more than enough to say:

id > class > else


I don't think that's true. Hackers need to know CSS too and I am always very surprised at how little most programmers know abotu CSS.

I thought this smashing post was one of the better explanations of CSS selectors that I've seen.


If you want to learn about the specificity values of CSS selectors, Specificity Wars is a much better read.

http://www.stuffandnonsense.co.uk/archives/css_specificity_w...


Yeah, but the W3 site is so ugly...


This article has been added to my 'must read' list. I find myself getting thrown into the CSS pit and need a solid intro to it. Thanks for posting it!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: