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

styling order is counter-intuitive

From: ricmetal <ricmetalspam@gmail.com>
Date: Thu, 24 May 2012 03:59:02 +0100
Message-ID: <CAO4BFdRfP+Sf5eZL9W+QJyr1=yEhTVcPxYA9EHqzY35wVUmmpg@mail.gmail.com>
To: www-style@w3.org
so, i'd like to understand (before proposing a change) to why css styling
does not follow the order in which classes are added to an element but
instead an element gets styled in the order classes are found in the
stylesheet.
if there's a webpage with an explanation i'd like to read it, so if someone
could point me there that would be great.
i find it very counter-intuitive, not to apply styles in the order they are
added to an element, but i'm sure there's a reason..
Received on Friday, 25 May 2012 14:05:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT