简体   繁体   中英

Meteor - Why main.scss is loaded first?

I have a client folder containing a main.scss, and a folder called home with a home.scss inside of it:

|client(directory)
|----home(directory)
|--------home.scss
|----main.scss

I read in Meteor doc main.* are load before else files. But my home.scss is override by main.scss, as if main.scss is loaded after... why?

因为main.scss加载的是最后一个,并且是“层叠样式”,所以最后一个样式始终会覆盖以前的样式(如果有)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM