Does the order of css stylesheet definitions matter?

前端 未结 7 970
情歌与酒
情歌与酒 2021-02-07 04:02

I have several stylesheets. The first one is a stylesheet with some styles that I would like to use as defaults. Depending on several factors, the code being used to generate

7条回答
  •  半阙折子戏
    2021-02-07 04:24

    If the selectors are identical, the last loaded takes precedence, just as if you declared the same class twice in the same stylesheet.

提交回复
热议问题