Overriding bootstrap table-striped rows with jquery onclick function

前端 未结 1 1811
暖寄归人
暖寄归人 2020-12-20 06:32

hello everyone. I\'ve used bootstrap 4 table classes to build the table shown in the image, including the table-striped class which gives the table it\'s alternate

1条回答
  •  不思量自难忘°
    2020-12-20 07:23

    Use link to your CSS file after link to the bootstrap CSS. For example:

    
        ...
        
        ...
        
    
    

    Note, you could add any query string to your CSS-file URL to avoid сaching problem:

    
    

    Also you can use !important rules in your CSS as a last resort.

    .highlight {
      background-color: red !important;
    }
    
    
    Class Description
    Text Text
    Text Text
    Text highlited row
    Text Text
    Text Text

    0 讨论(0)
提交回复
热议问题