18

New CSS 3.0 Features That Web Designers Would Love

While the the W3C seem to be taking forever to implement new web standards and seem happy sitting on their butts forever without moving forward. Here are a bunch of CSS 3.0 proposals that Web Designers would go nuts over if ever they are implemented. I give them time till 2999 to implement them, at the rate things are going in the W3C. I saw the original post here on anieto2k blog but since I don’t understand what language it is written in, I decided to translate it. By the way Opera 9.5 has full support for CSS 3.0

Multi Columns

Currently when you create a multi columned layout i.e 2 column or 3 column layout you need to specify individual and separate DIV HTML elements to achieve the desired effect. But in CSS 3.0 you can achieve this with a single CSS declaration like this


DIV {width: 400px;column-count: 4;
column-width: 100px;
column-gap: 10px;column-rule: none;
}

This is actually possible in FireFox but it is not Standard CSS 3.0 you’ll need to use FireFox Specify code in your CSS to achieve the effect. Example is given below.


-moz-column-count: 3;
-moz-column-gap: 1em;
-webkit-column-count: 3;
-webkit-column-gap: 1em;

Multi-Background

Currently it is not possible to put multiple background Images to the same HTML element but in CSS 3.0 you can easily do this.


background: url('http://www.clazh.com/images/body-top.gif')
top left no-repeat,
url('http://www.clazh.com/images/banner_fresco.jpg')
top 11px no-repeat,
url('http://www.clazh.com/images/body-bottom.gif')
bottom left no-repeat,
url('http://www.clazh.com/images/body-middle.gif')
left repeat-y;

Zebra Tables

You can easily do zebra table without the need for JavaScript or putting CSS Classes on individual Table Rows to give alternate colours.


tr:nth-child(2n+1) /* represents every odd row of a HTML table */;
tr:nth-child(odd)  /* same */
tr:nth-child(2n)   /* represents every even row of a HTML table */
tr:nth-child(even) /* same *//* Alternate paragraph colours in CSS */
p:nth-child(4n+1) { color: navy; }
p:nth-child(4n+2) { color: green; }
p:nth-child(4n+3) { color: maroon; }
p:nth-child(4n+4) { color: purple; }

Rounded Corners

How about the ability to render the ever popular and so called Web 2.0 rounded Corners for a box(html Element) with just a single line of CSS.


Opacity

Currently almost all browsers support their own version and syntax for opacity. Here is the CSS 3.0 Standard code for opacity


16 Comments

Gravatar 1

Multi-background would make my life complete. :P

Nyssa Posted on Friday, August 24th, 2007 at 8:21 am
Gravatar 2

kool…this is what was needed…

rajanz Posted on Friday, August 24th, 2007 at 8:34 am
Gravatar 3

Multiple backgrounds and rounded corners would cheer me up, really. But will all this be well rendered by the browsers?

Daniela Posted on Friday, August 24th, 2007 at 9:50 am
Gravatar 4

If you read about Jeremiah Grossman & RSnake’s presentation at BlackHat-US’07, you’ll realize how broken the web is! They performed some demos WITHOUT Javascript. :)
The prosopals look amazing from web developer’s perspective, but I won’t be surprised if reasearchers find a way to use them for exploit as well. I just hope this all makes the lives of security researchers easier too.

Bipin 3~ Upadhyay Posted on Friday, August 24th, 2007 at 10:13 am
Gravatar 5

drools, i like the multi-background. been waiting for it more than a year i think. the opacity might come handy.
but i believe we have to wait a year or more after the release of final css3. I am refering to the browser support. IE7 have been released almost a year now, yet we have have to struggle with support for IE6 too

Wai Posted on Friday, August 24th, 2007 at 11:11 am
Gravatar 6

Nice findings, Thanx for sharing

Vaibhav Posted on Friday, August 24th, 2007 at 9:05 pm
Gravatar 7

these updates, if implemented, would really make my life easier

js Posted on Saturday, August 25th, 2007 at 1:14 am
Gravatar 8

Pardon my ignorance :) but can I know which browsers currently support CSS 3.0?

all?

cz this looks damn cool

I can bet it won’t work in IE 6 without the need of any hacks

Dj Flush Posted on Saturday, August 25th, 2007 at 12:24 pm
Gravatar 9

I can’t wait for CSS 3.0. Seriously. I just hope IE8 or 9 or whatever will support it, and support it well.

BoltClock Posted on Saturday, August 25th, 2007 at 2:35 pm
Gravatar 10

yehaaa!! kool tips. thanks for it.

bob Posted on Saturday, August 25th, 2007 at 7:24 pm
Gravatar 11

In case any of you are wondering, none of the current browsers support CSS 3.0 fully. Actually, none of them support CSS 2.1 fully. They will all slowly add support for these features, but to be honest, I’m guessing it will be another five years before we can really start using these features.

Montoya Posted on Sunday, August 26th, 2007 at 7:54 pm
Gravatar 12

Awesome Features .

Mohamed Posted on Friday, August 31st, 2007 at 4:20 pm
Gravatar 13

I will be blessed if they implement the rounded corner soon. slick.

Prasanth Posted on Tuesday, September 4th, 2007 at 2:40 am
Gravatar 14

These new features will be definitely useful! I hope CSS 3.0 gets released soon!

Pensador Posted on Monday, September 24th, 2007 at 11:00 pm
Gravatar 15

I think it would be great if they included the ability to create gradients/fade effects/glow effects to the CSS 3.0 specification.

tjbro Posted on Thursday, May 29th, 2008 at 7:27 pm
Gravatar 16

Well! guys done be so much excited..CSS 3.0 is done alot of things easier for Developer but..what about browser support??

It would be better if there were any standardization mantained by w3c.
Lastly, I myself being a Developer, is desperately waiting for it.

Manoj Karmocha Posted on Friday, June 27th, 2008 at 10:58 am

2 Trackbacks/Pingbacks

Pingback on August 24, 2007

[…] Web tasar?mc?lar?n?n ho?una gidecek CSS3.0 özellikleri. Link […]

Trackback on August 25, 2007

Upcoming CSS 3.0 features…

Yesterday, Arpit Jacob (the winner of the Sandbox Designs Competition) posted about some CSS 3.0 features that you as a web designer would definitely look forward to, including sample code snippets.
……

Sorry, comments for this entry are closed at this time.

All Rights Reserved Copyright © 2009, and Design by Arpit Jacob. XML SiteMap, XHTML Sitemap, RSS Entries and Comments