How do you refer to more than one .css file in html?

后端 未结 5 506
臣服心动
臣服心动 2020-12-24 08:44

I have a homepage.html and it refers to styles.css(makes a table). But I also want homepage.html to refer to styles12.css because in styles12.css I have the css for taps.

5条回答
  •  梦毁少年i
    2020-12-24 08:57

    Yes, and the order of precedence for rules will follow the basic CSS precedence ruleset, and later rules overwrite earlier rules if they specify the same attributes.

    You might want to read this article on specificity.

提交回复
热议问题