mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
A modern alternative to CSS resets
acf40793b3
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 6+ 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 and IE 6/7 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/ |
||
---|---|---|
CHANGELOG.md | ||
component.json | ||
LICENSE.md | ||
normalize.css | ||
README.md | ||
test.html |
normalize.css v1.0.2
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.
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 3+
- Apple Safari 4+
- Opera 10+
- Internet Explorer 6+
Contribute
Please read my issue guidelines.
Acknowledgements
Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.