Skip to content

Commit d5345f8

Browse files
committed
README.md
- Curate order of changes to put box-sizing first - Remove lines about font reset - Clarify differences between normalize.css and sanitize.css
1 parent 75a91f5 commit d5345f8

1 file changed

Lines changed: 10 additions & 19 deletions

File tree

README.md

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ bower install --save sanitize-css
2727

2828
## Features
2929

30-
##### Backgrounds should not repeat by default
31-
32-
```css
33-
* {
34-
background-repeat: no-repeat;
35-
}
36-
```
37-
3830
##### Box sizing should be inherited and default to border-box
3931

4032
```css
@@ -47,20 +39,19 @@ html {
4739
}
4840
```
4941

50-
##### Cursor should only change to hint non-obvious interfaces
42+
##### Backgrounds should not repeat by default
5143

5244
```css
53-
html {
54-
cursor: default;
45+
* {
46+
background-repeat: no-repeat;
5547
}
5648
```
5749

58-
##### Regular text should be sans serif with a comfortable line height
50+
##### Cursor should only change to hint non-obvious interfaces
5951

6052
```css
6153
html {
62-
font-family: sans-serif
63-
line-height: 1.5;
54+
cursor: default;
6455
}
6556
```
6657

@@ -168,11 +159,11 @@ a, area, button, input, label, select, summary, textarea, [tabindex] {
168159

169160
## Differences
170161

171-
[sanitize.css] styles elements more consistently with developers’ expectations
172-
and preferences. [normalize.css] styles elements more consistently between
173-
browsers. [reset.css] unstyles every element. Both sanitize.css and
174-
normalize.css are maintained in sync, and both projects correct browser bugs
175-
while carefully testing and documenting every change.
162+
[normalize.css] and [sanitize.css] correct browser bugs while carefully testing
163+
and documenting changes. normalize.css styles adhere to css specifications.
164+
sanitize.css styles adhere to common developer expectations and preferences.
165+
[reset.css] unstyles all elements. Both sanitize.css and normalize.css are
166+
maintained in sync.
176167

177168
## Support
178169

0 commit comments

Comments
 (0)