Question about at-rule @media

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question about at-rule @media

Johan DESMYTER
Hello,
i've search quit a long time and can't find out something. (from http://www.w3.org/TR/CSS2/syndata.html#at-rules and http://www.w3.org/TR/CSS2/media.html)

is there a rule for incoherent use of @media. See example below :

import a css like this :
> @import "my_css.css" print; /* so a css for print media */

and the content of "my_css.css" :

> @media screen{
>     h1 { color:red; }
> }

Red color will apply on witch media? What is the rule for that kind of case?

Thank a lot for helping me,

Yggdra