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!
There isn’t a lot of information to be found about the :not() selector. The specifications only offer 3 lines of text and a couple of examples. So lets see what it can do!
The Specification
The negation pseudo-class, :not(X), is a functional notation taking a simple selector…
A lightbox is a way of showing an image, a movie or an entire web page as an overlay on a website. It is often used in gallery style websites and for portfolio’s. This article will look into the basics of building your own lightbox…
After over a year and a half, I finally have a design of my own. It’s been announced way too many times, but now it’s really here. Find out what happened to the tagline, after the break!
Design wise
This is actually the first design I made…
1 comment
[...] | 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.