Kilian Valkhof

Front-end developer, user experience designer & Jedi.

Your best CSS selector?

CSS & (X)HTML, 4 August 2008, 1 comment

I am making great progress on my new design, and one of the decisions I made was to just forget about IE and use all the css I want. This lead to perhaps the best CSS selector I have ever written:

li:not([class=pingback]) .comment-content p:first-child:first-letter

Which is one of the selectors I use to style the comment section of my new design. Not bad, is it?

Sorry for the delay on the second part of Building your own lightbox. The article is proving itself to be, how do I say it, humongous.

So, for this week, Tell me your best CSS selector!

Thank you for reading this article.

Please don't hesitate to leave a comment!

I am a front-end developer and user experience developer from the Netherlands, and I am available for freelance work. Contact me or ping me on twitter: @kilianvalkhof.

1 comment

  1. [...] | user-saved public links | iLinkShare 1 votesYour best CSS Selector?>> saved by hellorodney 2 days ago2 votesCharts zoom / range selector (version 2)>> saved by [...]

Your response?

If you post code examples, make sure to escape your HTML.