W3C home > Mailing lists > Public > site-comments@w3.org > July 2011

Suggestion for CSS3

From: Sébastien CAPARROS <sebastiencaparros@gmail.com>
Date: Sat, 23 Jul 2011 15:01:48 +0000
Message-Id: <CAD3LjU0W2fiXNn0p8rQwAD8YqpNEx9hG=2ffy9U7cuzO=3WKTg@mail.gmail.com>
To: site-comments@w3.org
Hello,

I don't know if you read this kind of emails, but I just want to suggest you something for CSS3.

It's easier for me to give you an example than to explain.

Then, instead of doing this : 

div.someClass {
    background: white;
}

div.someClass div.otherClass {
    color: blue;
}

div.someClass div.otherClass span.greenOnHover:hover {
    color: green;
}

div.someClass div.anotherClass {
    color: red;
}

It could be useful to be able to do something like this : 

div.someClass {
    background: white;

    div.otherClass {
        color: blue;

        span.greenOnHover:hover {
            color: green;
        }
    }
    
    div.anotherClass {
        color: red;
    }
}

Thank you for reading my email,

Regards.
Received on Saturday, 23 July 2011 16:00:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:33 GMT