Can one CSS file take priority over another CSS file?

后端 未结 8 2199
日久生厌
日久生厌 2020-12-01 06:16

I\'m in London working on an application, and the html/css guy is in New York. He\'s sending me updates daily by email as we have no source control set up that we can both u

8条回答
  •  忘掉有多难
    2020-12-01 06:32

    I use CSS priority rule as below:

    1. First rule as inline css with html which will marge any kinda css.

    2. Second rule as the keyword use !important in css declaration after value.

    3. Third rule as the html header stylesheet link priority order (Main css stylesheet after custom css stylesheet).

    Basically user want to use the third rule also want to marge bootstrap css to custom css, example below:

    
       
    
    
    
    

提交回复
热议问题