24 Comments
- afflusso, on 09/10/2009, -1/+7Variables would be nice to have.
- chockster, on 09/10/2009, -1/+7"With the future of CSS, the only thing that will hold back Web designers is their own imagination."
Yay hyperbole!
Urgh. - Jektal, on 09/10/2009, -2/+6TFA rundown:
1. CSS Variables
2. Conditional CSS
3. Nested Selectors
4. Smarter Shortcuts
5. Mathematical Functions
6. Object-Oriented CSS
7. More options for text justification
8. Non-standard proprietary fonts with links to the typeface (isn't this in CSS3?)
9. [some other stuff in CSS3]
10. CSS Extension Tools
Half of these are ill-conceived crap, but hey, there you have it. - scoot2006, on 09/10/2009, -0/+3I prefer something more time efficient. No, my editor doesn't write any of my CSS, but if it sees I'm typing "bor" it suggests "border" for me.
Making things quicker and easier for yourself isn't exactly a bad thing. Especially when there's still IE 6 to deal with. - Balanced, on 09/10/2009, -0/+3The main issue is that tools seem to always lag behind and/or have their own drawbacks. Dreamweaver used to be pretty cool, but last time I tried it it spit out very frustrating code to work with.
With a layout in illustrator, a few more k of data or few more seconds of rendering time 9essentially the same thing) is no big deal. On the web,t hat stuff matters.
Still, I'd be interested in seeing what would happen if Apple tried to make a real web development solution... Not the forgotten iWeb app, butt heir own version of XCode's Interface Builder for the web (yes, I am aware of WebObjects). being able to cleanly set up divs the way I want them and use the intuitive 'springs' of IB would be nice. - scoot2006, on 09/10/2009, -0/+3I'm not sure of what needs to change in CSS. It's great, but it's not perfect. I, personally, don't think it needs an overhaul, but I would like to see some tweaks/additions.
I think some of the mathematical functions and variables would be super helpful in almost all my projects. Can't say having the option of a few more advanced things would make me upset though. I just wouldn't want to see things getting out of hand. - esc27, on 09/10/2009, -1/+4Variables or rather constants look like a great idea. Eliminate magic numbers is a very good thing. Giving values in css a name doesn't just help make it easier to make changes, it makes it easier to understand the code. If the variables have good names, then anyone reading the css will be able to tell what the value is supposed to be about.
- Balanced, on 09/10/2009, -0/+3That's nice. CSS can be done that way, too. Most of the tiny 'non-trivial' web proejcts I do are done in an editor, although I sue an IDE instead of just a text editor (Coda).
- AmazingAndrex, on 09/10/2009, -1/+3Conditional CSS would be a nightmare and would completely go against the purpose of CSS for separating content and design.
- woofers07, on 09/10/2009, -0/+2I bet you have clients banging down your door too.
- woofers07, on 09/10/2009, -0/+2Personally, I don't see anything against variables in CSS if done correctly. The amount of time saved while developing large sites would be staggering, while allowing for outside developers to edit CSS files with more ease.
- Nairebis, on 09/10/2009, -4/+5Just make it so I can position stuff on a page without it being a total nightmare (and having to fall back on tables in total frustration), and I will be happy.
- Jektal, on 09/10/2009, -1/+2Inherit your styles.
- zip000, on 09/10/2009, -0/+1There are plenty of frameworks out there that have this functionality. Or you could use PHP (or another such language) to do your variables.
It honestly never occurred to me to use variables in my CSS. I don't really think they would save me much time or code though. - vainbrian, on 09/11/2009, -1/+2Just kill IE6 and im happy.
- zip000, on 09/10/2009, -0/+1I'm pretty disdainful of anything that writes your code for you: I always make a face whenever anyone mentions Dreamweaver.
I use something a bit more advanced than a dos editor though - My preferred program is Notepad++. - inactive, on 09/10/2009, -1/+1Eh as a graphic designer who is sometimes asked to do web stuff which I loathe because I can't program *****, I still wonder why in this day and age there isn't software where one can literally build a website like I build the skin in illustrator or photosohop. The way websites work seem rather archaic.
- Asianwaste, on 09/10/2009, -1/+1Personally, I like the idea but I think much like how you declare document type for html, you should do the same for CSS if you implement this. This has the potential to open a lot of new techniques but at the same time opens the doors to making it needlessly complex and sometimes it's better to have the option to stick with basics and have syntax locked to the basics w/o fear of having your browser misinterpreting it.
- Langford, on 09/10/2009, -1/+1I can think of one thing off the top of my head that can already be used (misused?) as a variable, the font-size. As an inherited property, it can call upon built in hidden math when measuring out various elements, I've done it lots of times so I know it works. If you set the font-size on an area, than you can use em instead of px for stuff you put inside that area. 1 em will equal whatever you set the font size to, and things can be set to different fractions of an em unit. You can carry it all the back to the font-size of body, and make the whole page scalable by measuring everything within the page in units of em, and setting the font-size for body based on the page size is a pretty easy thing to script. One downside is that a lot of browsers will display the resized images in the page jaggy. This trick won't help with anything but sizing of course.
- Ogvidius, on 09/10/2009, -3/+3Great list! Conditional CSS would be great, as would variables. Just general time saving things really, once the main design is done you can get stuck doing little fiddly things for a long time, it would be nice to maximize the time spent designing and less time fiddling!
- inactive, on 09/10/2009, -6/+4I still prefer hand coding HTML in a dos editor.
- Sanderson9009, on 09/10/2009, -7/+2Counter-Strike: Source?
- FI5HERMAN, on 09/10/2009, -6/+1The big wish list is what we’d like to see in the future and the pros and cons of them all.!!!
- manergy, on 09/10/2009, -8/+2I know I wasn't the only one hoping this article was about upcoming changes to Counter Strike Source.


What is Digg?