CSS reset, which sets all defaults

I am working on a browser extension that adds its UI to DOM pages. On some pages, I have a problem with some styles that affect my user interface. To counter this, I keep my user interface under a common root, which resets most styles to default.

Sometimes I skipped what causes visual glitches in my user interface. (i.e. pages of CSS file sets form { width: 80%; }, so I need to add a form { width: auto; }reset to my styles.

Is there a set of styles that reset for each CSS attribute for a value that is declared by default as a standard for each element?

+4
source share
5 answers

There are others, but these were (and still are) the most popular CSS Reset scripts of 2012 .

+5
source

, , CSS reset.

, , :

Normalize.css ( CSS)

CSS Reset by Meyer

+1

Google, - : http://meyerweb.com/eric/tools/css/reset/

reset as-is, , - , .

, CSS - .

+1

, .

. - reset , , css. Eric Meyer reset CSS

, , , , .. Normalize.css

initial, , . , .

+1

The Html5 template has normalize.css, which sets many default css styles. http://html5boilerplate.com/

0
source

All Articles