- From: Bang Seongbeom <bangseongbeom@hotmail.com>
- Date: Sat, 6 Jun 2015 18:24:05 +0900
- To: www-style@w3.org
Look at this:
@custom-media --narrow-window (max-width: 30em);
@media (--narrow-window) {
}
At-rule name is just @custom-media. we can not infer whether media type
or media feature.
Defining with brackets is more intuitive:
@custom-media (--narrow-window) (max-width: 30em);
@media (--narrow-window) {
}
Received on Saturday, 6 June 2015 09:25:42 UTC