How to ignore parent css style

前端 未结 10 1454
逝去的感伤
逝去的感伤 2020-12-23 18:58

I\'m wondering how to ignore a parent style and use the default style (none). I\'ll show my specific case as an example but I\'m pretty sure this is a general question.

10条回答
  •  天命终不由人
    2020-12-23 19:20

    It would make sense for CSS to have a way to simply add an additional style (in the head section of your page, for example, which would override the linked style sheet) such as this:

    
    
    
    

    and turn off all previously applied styles, but there is no way to do this. You will have to override the height attribute and set it to a new value in the head section of your pages.

    
    
    
    

提交回复
热议问题