CSS reset that sets everything to default values

前端 未结 6 1748
忘了有多久
忘了有多久 2020-12-03 23:08

I\'m working on a browser extension that adds it\'s UI to the pages DOM. On some pages I have the problem certain styles affect my UI. To counter this I keep my UI underneat

6条回答
  •  旧巷少年郎
    2020-12-03 23:50

    I recommend using a quick Google search to find something like so: http://meyerweb.com/eric/tools/css/reset/

    You can implement the reset in as-is and then if any problems arise down the road, simply add to it as needed.

    Be aware that some pre-made CSS resets require a shout-out to using them.

提交回复
热议问题