Introduction to CSS3 - Part 1: What is it?

Posted 1 year, 10 months ago at 4:33 pm. 0 comments

This article marks the first of several, providing an introduction to the new CSS3 standard which is set to take over from CSS2. We will be starting from the very beginning – taking you from not having even heard of CSS3, to feeling ready to hit it running as various features start to become more widely adopted.

What is it?

CSS3 offers a huge variety of new ways to create an impact with your designs, with quite a few important changes. This first tutorial will give you a very basic introduction to the new possibilities created by the standard.

Modules

The development of CSS3 is going to be split up into ‘modules’. The old specification was simply too large and complex to be updated as one, so it has been broken down into smaller pieces – with new ones also added. Some of these modules include:

  • The Box Model
  • Lists Module
  • Hyperlink Presentation
  • Speech Module
  • Backgrounds and Borders
  • Text Effects
  • Multi-Column Layout


View the full list of modules

Timescale

Several of the modules have now been completed, including SVG (Scalable Vector Graphics), Media Queries and Namespaces. The others are still being worked upon.

It is incredibly difficult to give a projected date when web browsers will adopt the new features of CSS3 – some new builds of Safari have already started to.

New features will be implemented gradually in different browsers, and it could still be a year or two before every module is widely adopted.

How will CSS3 affect me?

Hopefully, in a mainly positive way. CSS3 will obviously be completely backwards compatible, so it won’t be necessary to change existing designs to ensure they work – web browsers will always continue to support CSS2.

The main impact will be the ability to use new selectors and properties which are available. These will allow you to both achieve new design features (animation or gradients for instance), and achieve current design features in a much easier way (e.g. using columns).

Future articles in this series will each focus on a different module of the CSS3 specification, and the new features they will bring. The next one relates to CSS3 borders.

Other posts in the series

Ajax Pioneer Week: Bruce Johnson of GWT

Posted 1 year, 10 months ago at 3:27 pm. 0 comments

Today we have Bruce Johnson of the GWT team talking to us about GWT 1.5. He discusses the new features, such as the long awaited Java 5 language support, performance improvements, and much more.

It is very nice to take an application, run it through the new GWT 1.5 compiler, and get an instantly faster running application “for free”.


Previously on Ajax Pioneer Week…

Porting Dojo Methods to Flash

Posted 1 year, 10 months ago at 1:12 pm. 0 comments

Mike Wilcox has started a nice series of posts on porting Dojo methods to Flash as a homage for Open Screen (aside: I applaud Adobe's intentions, but need to see a non-assert of their IP before I can do anything with it.)

In part one of the series Mike ports dojo.hitch to ActionScript:

PLAIN TEXT
JAVASCRIPT:

In part two he adds support for dojo.connect(), resulting in:

PLAIN TEXT
JAVASCRIPT:

Details of button padding in various browsers

Posted 1 year, 10 months ago at 12:32 pm. 0 comments

After building a slide deck with Ben, you learn the art of a perfectionist. He would love Chris Hester's posting on button padding that shows you how your buttons look on various browsers and operating systems. Even been frustrated when you try to style things on the Mac?

Here are a few of his findings:

  • IE 6 and 7 apply extra padding to buttons with < 2px, but IE 8 doesn't
  • IE 8 and Opera add borders to all standard buttons if you zoom large enough
  • Padding on the standard buttons has no effect on Mac Firefox, and Safari on both Mac and Windows

Button Padding

Follow us on Twitter

Posted 1 year, 10 months ago at 7:41 am. 0 comments

Design Shack on Twitter

A few of our kind readers wouldn’t stop pestering us…! All updates to the CSS gallery and news will now be sent to Twitter, providing another yet another way to subscribe to Design Shack.

Follow us on Twitter

We are also likely to use this method to notify you of competitions, updates and new features to the site – so make sure you don’t miss out and become a follower.

See you there!