A modern alternative to CSS resets
Go to file
TJ VanToll 7bc787fe86 Normalize form element text-transform
By default, browsers set `text-transform:none` on most form controls in
order to prevent `text-transform` being inherited from ancestor nodes.

However, the `button` and `select` elements are exceptions.

* Firefox and Opera do not apply `text-transform:none` to `select`.

* Chrome, Safari, and IE 8+ do not apply `text-transform:none` to
  `button.

It's not suitable to set `text-transform:inherit` because all other form
elements intentionally avoid it. Safari will not honour that style for
`select`, and Chrome will only do so when the `select` element is
clicked.

Further details:
http://tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/
2013-01-20 17:09:32 -08:00
CHANGELOG.md Normalize h1 margin 2013-01-20 10:03:47 -08:00
component.json Update component.json for 'component' support 2012-09-28 09:35:45 -07:00
LICENSE.md Rename LICENSE to LICENSE.md 2012-08-14 23:30:47 +01:00
normalize.css Normalize form element text-transform 2013-01-20 17:09:32 -08:00
README.md v2.0.1 2012-08-20 10:50:37 +01:00
test.html Add hr test 2013-01-20 09:45:25 -08:00

normalize.css v2.0.1

Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.

Check out the demo

What does it do?

  • Preserves useful defaults, unlike many CSS resets.
  • Normalizes styles for a wide range of elements.
  • Corrects bugs and common browser inconsistencies.
  • Improves usability with subtle improvements.
  • Explains what code does using detailed comments.

How to use it

Normalize.css is intended to be used as an alternative to CSS resets.

It's suggested that you read the normalize.css file and consider customising it to meet your needs. Alternatively, include the file in your project and override the defaults later in your CSS.

Browser support

  • Google Chrome
  • Mozilla Firefox 4+
  • Apple Safari 5+
  • Opera 12+
  • Internet Explorer 8+

Contribute

Please read my issue guidelines.

Acknowledgements

Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.