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
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 UTC

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