开发者

Importing CSS with @import in conjunction with @charset

If I use the following at the top of my CSS file home.css:

@import "overall.css";

Do I need to (within home.css) redeclare @charset "utf-8"; or is this applied to the current CSS document when it's be开发者_JS百科en defined within the included CSS?


You should define it at the top of the first CSS file, the it will apply to all that are included using @import.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜