I went to a great DevGroupNW meeting last night about CSS3 and the very cool features it provides. The speaker was Dave McFarland, a local guy who has written a few Missing Manuals on CSS and web stuff. He shared a lot of information with us in a very short period of time.

Keep in mind, these features won’t work in IE6, but it won’t break anything either, just be sure the underlying styles are functional in IE6. With IE6 now down to 12% of the national brower market, it may not be an important presence on the websites you work on. They are good to go in Firefox, Safari, and Chrome.

In CSS3 you are now able to:

  • Add icons to links by type (for .pdf or email icons, for example) by creating a unique style for each kind of link by using attribute selectors.
  • Style first or last examples of a style within a container, using the first-child and last-child attributes.
  • Style table rows with the nth-child attribute.
  • Add transparency to a div or by attribute (all the examples of one color, or all h1 tags).
  • Create an alpha channel with the RGBA attribute to exclude type within a transparent container.
  • Add and style text shadows with the text-shadow attribute. There can even be subsequent layers of shadows.
  • Add interactivity with Jquery scripts. Jquery is his recommended flavor of javascript libraries to work with because it works well with CSS3
  • And drum roll please… use custom fonts with the @fontface attribute. It has been the last area of design control available to designers, due to the issue of resident fonts on user’s machines. This allows you to upload a font to the server which is downloaded on demand.

And, by the way, HTML5 and CSS3 will be the new web standard, not XHTML, so you can forget learning XHTML for now.
See the offical specification for HTML5.

Want to learn more? Read Dave’s article on how to add transparencies on your websites with CSS3 on CreativePro.com

Font resources

Learning CSS3

Browser Testing
Wondering what your website looks like in browsers and platforms you don’t have? Check them out on the Adobe test site. They are still accepting signups and it’s free if you have an Adobe login.


Skip to content

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.