-
Notifications
You must be signed in to change notification settings - Fork 0
Tips & tricks
Александр Тауенис edited this page May 12, 2014
·
4 revisions
The μCSS is a very simple parser, and it doesn't have support for @import, @media and some other pre-interpretable things. The programmer itself should parse these aspects of the file before the CSS gets into μCSS. It is the reason why the μCSS works with the bodies of CSSes and not with the URLs to the CSS files.
To imitate "user styles", which according to standard is more important than "application styles" and "current theme/skin styles", there is only one way: it is to place the more important selectors above the less important selectors in the CSS body. μCSS will return with parser.Get("selector")
the upper selector with bits of lower selectors (declarations that doesn't exist in upper selectors).
...to be continued...sometime...