Is there a way to tell an html element to ignore any stylesheets?

后端 未结 7 1953
忘了有多久
忘了有多久 2020-12-03 10:15

I\'m attempting to add a drop down to a page that already has a global \"select\" style. Is there a way to tell the new select list to ignore the global style? There\'s ab

7条回答
  •  抹茶落季
    2020-12-03 10:47

    there is no easy way to do what you are asking, one approach is to create a CSS class that resets all appropriate attributes for a specific element and its children to make it more complete, here is a good starting point Element specific CSS reset

提交回复
热议问题