Multiple assignment structure (suggestion)

Hi there.

I was wondering if this would make any sense to you.
If someone has already suggested it, or it has already been discussed,
sorry, but I couldn't find it(may, a different name?).

The idea is to add a syntax support to set properties like this:

selector-1,
selector-2 {
    border:
    padding:
    opacity:
    margin: 0;
    position: absolute;
    left:
    top: 0;
}

This would helps us have even smaller css files.
Another example:

selector-1,
selector-2 {
    color:
    border-color: #009;
}

What do you think?

Regards.

-- 
*Felipe N. Moura*
Senior Web Developer

Website:  http://felipenmoura.org
Twitter:    @felipenmoura <http://twitter.com/felipenmoura>
LinkedIn: http://goo.gl/qGmq

Meet some of my projects:
BrazilJS Conference <http://braziljs.com.br/>  |  BrazilJS Foundation
<http://braziljs.org>  |  Power Polygon
<http://github.com/braziljs/power-polygon>  |  TheWebMind
<http://thewebmind.org/>  |  PHPDevBar
<https://addons.mozilla.org/pt-BR/firefox/addon/php-developer-toolbar/>
---------------------------------
LinuxUser #508332
*Changing  the  world*  is the least I expect from  myself!

Received on Wednesday, 26 November 2014 22:54:05 UTC