Reset/remove CSS styles for element only

前端 未结 14 865
长情又很酷
长情又很酷 2020-11-22 00:52

I\'m sure this must have been mentioned/asked before but have been searching for an age with no luck, my terminology must be wrong!

I vaguely remember a twee

14条回答
  •  逝去的感伤
    2020-11-22 01:14

    For future readers. I think this is what was meant but currently isn't really wide supported (see below):

    #someselector {
      all: initial;
      * {
        all: unset;
      }
    }
    
    • Supported in (source): Chrome 37, Firefox 27, IE 11, Opera 24
    • Not supported: Safari

提交回复
热议问题