Not a member? Why not join us or log in? (No more hassle filling in comments, less obtrusive ads and asides.)

W3C’s CSS spec updates

Posted by Phil Renaud on April 1st, 2006.

Phil Renaud is a Canadian blog design and web design enthusiast, with a particular admiration for web standards and CSS innovation. Ruby on Rails, xhtml/css, ajax, and a whole lotta love.

http://philrenaud.com

Phil Renaud has posted 21 articles.

RSS Feed for fadtastic.net RSS Feed for Phil Renaud

Full Profile →

The W3C’s CSS specification update this week caught a number of people in the blogosphere off guard, by the look of things. I’ve gotten quite a few emails on the subject over the last couple days, and thought I’d address one of them here.

From Sean:

Hey Phil, just wanted to get your input on the W3C’s specification markup updates - specifically, what do you make of the new element templates for the angle and dropshadow items? Can you see them catching on?

Hey Sean, thanks for the email. In a word: Definitely!

When I first caught wind of the spec update the other day, I was much more thrilled about the dropshadow property implemented, but I’ve since come to see the good in the angle property as well. For what it’s worth, however, I should mention that my favourite overall addition was the fill property. I’ve already been experimenting with that one, here’s a quick example:

.gradheader {
fill-type: gradient #000 #999;
fill-direction: top left;
fill-noise: none;
}

So, you can probably tell why I’m excited about that; no more pesky messing around with images and gradient/fades! Throw a fill-transparency attribute in there and you can get some real nice effects, even over top of your images, etc. This essentially means less photoshop-hacking and more efficient CSS/xhtml integration, which has me thrilled.

Next, let’s take a look at the ones you specifically mentionned: angle and dropshadow. Let me say in advance that I can very easily see these being abused by the average myspacer.

.phototilt {
width: 200px;
height: 120px;
angle: 45;
border: 4px solid #ccc;
dropshadow: 1px 5px 5px 1px 35% #000;
}

So, what we have is an image, 120px by 200px, rotated on a 45-degree angle (anywhere from 0 to 360 degrees are availble; any other value is rendered to normal scale inconsequentially), with a light grey border and a drop shadow set to 35% visibility black, offset 5px from the right and bottom, and 1px from the top and left. Not too shabby!

Certainly, though, there is room to improve; there is an inability to set any attributes of the dropshadow to have a gradient effect, or that fade as they move away from the object. This is something of an oversight that I’m none too pleased with, but I’m sure will be addressed.

The other thing, of course, is getting going to be getting the IE7 team to comply to these before the new browser is released; otherwise, it could be a very hectic design season. In any case, it should make things a good bit more interesting around the design community.

Happy experimenting!

Make A Comment

( 8 so far )

blockquote and a tags work here.

8 Responses to W3C’s CSS spec updates

Comments RSS Feed

Hmm, wonder how long it’ll take the IE team to implement this. ;)

Tony Porras
April 1st, 2006
#

Hahahahaha, is this some kind of aprils fool? :p If it is, it’s one of the best ever. If it ain’t, well, of course it is.

Alexander
April 1st, 2006
#

I tried this CSS right now nothing happens. So I think they’ll be implemented in the new browsers — new versions I mean.

Amrit
April 1st, 2006
#

this is a trick :)

Michael
April 1st, 2006
#

You bastard!

Wible
April 1st, 2006
#

[…] Wikipedia’s entry for April 1, 2006 has a good list of hoaxes Some of the best are: W3C ’s CSS update - it’s a good’un! Ubuntu’s site has been ROT-13′d - ROT13 is an encryption algorithm where every letter is swapped for either the one 13 letters in front in the alphabet or 13 behind (read the article, i’ll just confuse you!) Unconfirmed as it was announced on 31st March, but the new Race in Warcraft is the Wisps! Racial Traits: Detonate: Destroys the wisp, dispelling all magical buffs and draining 50 mana from each unit in an area around the wisp. Gatherer: Skill to herbalism, mining, and skinning increased by 10. Permanent Death Treeform: Turns the wisp into a tree for 30 seconds. During this time, spirit is increased by 300. However, the wisp’s chance to dodge or parry axes is reduced by 50%. […]

Stony’s Blog
April 1st, 2006
#

A serious case of shadow boxing

Johan Van Den Rym
April 3rd, 2006
#

lol

the GZA
April 3rd, 2006
#

↑ Jump up to the comment form

Related In Some Way, Shape Or Form

The above post has obviously kept you amused. Why not discover similar material:

The posts NO!SPEC - Just Say NO!CSS3: what it means, and what it doesn’tSmashing Magazine Logo ContestCMSs ~ Clients, Content & ControlThe Fadtastic Theme, are related to this post.

Or why not take time out to find out about the author of the post.