Re: @import -- allow at any place in stylesheet.

On Wed, Jan 18, 2012 at 9:49 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Le 18/01/2012 18:22, Oliver St. John a écrit :
>> Would there perhaps be value in combining this with one of the
>> proposals for conditional styling and thus creating contextual
>> @imports?
>
> Indeed. The only form of conditionals in CSS 2.1 is @media rules, and
> @import rules can also take a media type/media query so they can also be
> conditional.
>
> If there are new conditionals that are not media queries, having them
> somehow on @import is valuable.

There's already a note in Conditionals
<http://dev.w3.org/csswg/css3-conditional/#contents-of> about that.

~TJ

Received on Wednesday, 18 January 2012 18:23:02 UTC