mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Minor copy and comment adjustments
This commit is contained in:
parent
6de1f055d6
commit
b7579700ea
19
README.md
19
README.md
@ -1,7 +1,10 @@
|
|||||||
normalize.css
|
normalize.css
|
||||||
=============
|
=============
|
||||||
|
|
||||||
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.
|
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](http://necolas.github.com/normalize.css/demo.html)
|
[Check out the demo](http://necolas.github.com/normalize.css/demo.html)
|
||||||
|
|
||||||
@ -19,11 +22,9 @@ How to use it
|
|||||||
|
|
||||||
Normalize.css is intended to be used as an alternative to CSS resets.
|
Normalize.css is intended to be used as an alternative to CSS resets.
|
||||||
|
|
||||||
It is suggested that you read through the `normalize.css` file and customise it to meet the design requirements of a project rather including it as a "black box".
|
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
|
||||||
If you prefer to use a different CSS formatting style, consider using a tool like [Procssor](http://procssor.com/).
|
override the defaults later in your CSS.
|
||||||
|
|
||||||
If you would like to minify the file, you can use a tool like this [online CSS compressor using YUI Compressor](http://www.refresh-sf.com/yui/) or perform the minification as part of your build process.
|
|
||||||
|
|
||||||
Browser support
|
Browser support
|
||||||
-----------
|
-----------
|
||||||
@ -37,7 +38,8 @@ Browser support
|
|||||||
Contribute
|
Contribute
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Please read the Wiki entry on [contributing to Normalize.css](https://github.com/necolas/normalize.css/wiki/contribute)
|
Please read my [issue
|
||||||
|
guidelines](https://github.com/necolas/issue-guidelines).
|
||||||
|
|
||||||
License
|
License
|
||||||
-----------
|
-----------
|
||||||
@ -47,4 +49,5 @@ Public domain
|
|||||||
Acknowledgements
|
Acknowledgements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Normalize.css is a project by [Nicolas Gallagher](http://github.com/necolas) and [Jonathan Neal](http://github.com/jonathantneal).
|
Normalize.css is a project by [Nicolas Gallagher](http://github.com/necolas)
|
||||||
|
and [Jonathan Neal](http://github.com/jonathantneal).
|
||||||
|
@ -328,7 +328,7 @@
|
|||||||
<div><input type="week" value="1970-W01"></div>
|
<div><input type="week" value="1970-W01"></div>
|
||||||
<div><input type="datetime" value="1970-01-01T00:00:00Z"></div>
|
<div><input type="datetime" value="1970-01-01T00:00:00Z"></div>
|
||||||
<div><input type="datetime-local" value="1970-01-01T00:00"></div>
|
<div><input type="datetime-local" value="1970-01-01T00:00"></div>
|
||||||
|
|
||||||
<div><input type="radio"></div>
|
<div><input type="radio"></div>
|
||||||
<div><input type="checkbox"></div>
|
<div><input type="checkbox"></div>
|
||||||
|
|
||||||
|
28
normalize.css
vendored
28
normalize.css
vendored
@ -1,6 +1,6 @@
|
|||||||
/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* ==========================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -53,8 +53,7 @@ audio:not([controls]) {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Base
|
Base
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -92,8 +91,7 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Links
|
Links
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -115,8 +113,7 @@ a:hover {
|
|||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Typography
|
Typography
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -269,8 +266,7 @@ sub {
|
|||||||
bottom: -0.25em;
|
bottom: -0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Lists
|
Lists
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -309,8 +305,7 @@ nav ol {
|
|||||||
list-style-image: none;
|
list-style-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Embedded content
|
Embedded content
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -333,8 +328,7 @@ svg:not(:root) {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Figures
|
Figures
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -346,8 +340,7 @@ figure {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Forms
|
Forms
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@ -405,7 +398,7 @@ textarea {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
line-height: normal; /* 1 */
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -493,8 +486,7 @@ textarea {
|
|||||||
vertical-align: top; /* 2 */
|
vertical-align: top; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ==========================================================================
|
||||||
/* =============================================================================
|
|
||||||
Tables
|
Tables
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user