- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Mon, 16 Jan 2012 19:36:51 +0400
- To: www-style@w3.org
Hello. It makes sense to allow @import at any place in CSS stylesheet.
For example, if we have:
.rule-before-example {...}
.example {...}
.rule-after-example {...}
We could have same expressed with @import:
@import "before-example.css";
.example {...}
@import "after-example.css";
where "after-example.css" contains:
.rule-after-example {...}
(Real-world imported stylesheets are, of course, much larger.)
So why should @import be disallowed here for importing "after-example.css"? This just makes development less usable/flexible.
Thanks.
Received on Monday, 16 January 2012 15:37:32 UTC