Looking Around the Corner at CSS3
November 12, 2004
What is around the corner concerning CSS? This simple answer is CSS3—and it is looking awesome. Those of us with a modern browser can actually see some of the new psudeo-elements, properties, and selectors being proposed for CSS level 3.
After reading Andreas’ post I got wondering what other things can I do in firefox 1.0 with CSS level 3. I quickly tested some of the recommended items and this is what I found is now supported by firefox 1.0.
- Substring matching attribute selectors
- target pseudo-class
- Opacity property
- Content Property with :before or :after pseudo-class
Go to my CSS3 sandbox Page for some of my level 3 tests.
You may ask yourself, “why should I use these when they don’t work in Internet Explorer?” First, they degrade nicely, so IE doesn’t even render them. Second, I believe in keeping ahead of the game, so that when CSS3 becomes a standard in all browsers, you will have the advantage of understanding of it. Keeping ahead of the trend is always an advantage and an innovator.
There are several more properties, elements and pseudo-classes I wish were supported today but alas they are not. So keep an eye on these ones.
- nth-child pseudo-class for alternating table rows
- First-child pseudo-class
- Text-shadow already supported in Safari
- Border-images

Nice write-up on things we can actually _use_. I do have one oddity, as my Firefox 1.0 doesn't seem to perform the :target goodness. Irritating.
Posted on Nov. 12, 2004 10:08 #