W3C home > Mailing lists > Public > www-style@w3.org > May 2015

Re: [css-variables] var() for non-custom properties

From: Stefan Schumacher <stefan@duckflight.de>
Date: Sat, 23 May 2015 10:50:01 +0530
Message-ID: <55600E01.8040703@duckflight.de>
To: www-style@w3.org

Am 23.05.2015 um 08:28 schrieb Glen Huang:
> I wonder if there is any interest in evolve css to that direction?

Who is the target group for CSS?

HTML is for the common common web developer.
CSS is for the common web developer.
JS and PHP already go one step up, the target group might be already 
higher educated in coding or mathematical skills.

What's the average education level in a web agency? Most perfectly it's 
a mix of techies and designers, that complement each other.

What's the structure in a high percentage of web agencies?
My experience says there are lots of poeple that are good in design and 
they open up a startup and start developing sites around their sense of 
design. They make decent web sites. They rely mostly on tools or 
templates and just kick their grafx in. Eventually they know a bit of 
CSS and HTML. In the little bigger agencies, there is mostly just one 
CSS guy.

So bringing all these features in that actually need some coding or 
mathematical background, will pass at least 90% of the small to medium 
web agencies.

Lots of enquiries of customers come in here, and they just need to fix 
their CSS and that's mostly CSS 2 not even CSS 3.

So the question is the cost of the advancements. Can the old CSS be 
still run? Yes, sure.

But what will be the cost in performance. I read some time ago, whatever 
CSS you apply, it will cost you a maximum of 50 milliseconds, if that 
goes up to 100 milliseconds, fine!
Will that stay in this range?

The mobile web takes a huge part of the game now and the developement 
(thank god) is going back to making slim optimised code instead of just 
throwing in huge chunks of extra code that might even never be used.

I think there is a need to keep things simple.

Don't misunderstand me, I love the idea to throw variables into CSS, but 
isn't that a bit too much on the 5% techie side, of course a developer 
wants to bring in the latest and fanciest features that tickle his 
coding skills.

Keep a simple CSS engine, if you like to add functions and variables, 
use a pre processor and throw out simple CSS.
If you want it complicated use: What are their names, LESS, CHESS, MESS 
and so on. ;-)

I don't think CSS should become an all-in-one device suitable for every 
purpose (DE: eierlegenden Wollmilchsau).

Keep it fast and simple.

Stefan
Received on Saturday, 23 May 2015 05:20:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC