mirror of
https://github.com/h5bp/html5-boilerplate.git
synced 2026-01-09 16:08:01 -05:00
Remove normalize.css and Optimize head tag order. (#3034)
This commit is contained in:
26
docs/css.md
26
docs/css.md
@@ -5,30 +5,11 @@ table of contents](TOC.md)
|
||||
|
||||
HTML5 Boilerplate's CSS includes:
|
||||
|
||||
- [Normalize.css](#normalizecss)
|
||||
- [style.css](#stylecss)
|
||||
|
||||
## Normalize.css
|
||||
|
||||
In order to make browsers render all elements more consistently and in line with
|
||||
modern standards, we include Normalize.css — a modern, HTML5-ready alternative
|
||||
to CSS resets.
|
||||
|
||||
As opposed to CSS resets, Normalize.css:
|
||||
|
||||
- targets only the styles that need normalizing
|
||||
- preserves useful browser defaults rather than erasing them
|
||||
- corrects bugs and common browser inconsistencies
|
||||
- improves usability with subtle improvements
|
||||
- doesn't clutter the debugging tools
|
||||
- has better documentation
|
||||
|
||||
For more information about Normalize.css, please refer to its [project
|
||||
page](https://necolas.github.io/normalize.css/).
|
||||
|
||||
## style.css
|
||||
|
||||
Several base styles are included that build upon `Normalize.css`. These styles:
|
||||
Several base styles are included. These styles:
|
||||
|
||||
- provide basic typography settings that improve text readability
|
||||
- protect against unwanted `text-shadow` during text highlighting
|
||||
@@ -38,7 +19,4 @@ Several base styles are included that build upon `Normalize.css`. These styles:
|
||||
- and more...
|
||||
|
||||
These styles are included in
|
||||
[style.css](https://github.com/h5bp/html5-boilerplate/blob/main/dist/css/style.css)
|
||||
using [main.css](https://github.com/h5bp/main.css) project.
|
||||
See the main.css [documentation](https://github.com/h5bp/main.css/blob/main/README.md#features)
|
||||
for a full discussion of these styles.
|
||||
[style.css](https://github.com/h5bp/html5-boilerplate/blob/main/dist/css/style.css).
|
||||
|
||||
@@ -30,7 +30,6 @@ A basic HTML5 Boilerplate site initially looks something like this:
|
||||
```
|
||||
.
|
||||
├── css
|
||||
│ ├── normalize.css
|
||||
│ └── style.css
|
||||
├── doc
|
||||
├── img
|
||||
|
||||
Reference in New Issue
Block a user