Skip to content

Commit 27a6692

Browse files
committed
Better wording.
1 parent 9668d31 commit 27a6692

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.mdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ div {
4545
}
4646
```
4747

48-
In CSSOM, `background: gray` [gets overwritten](http://nv.github.io/CSSOM/docs/parse.html#css=div%20%7B%0A%20%20%20%20%20%20background%3A%20gray%3B%0A%20%20%20%20background%3A%20linear-gradient(to%20bottom%2C%20white%200%25%2C%20black%20100%25)%3B%0A%7D). The last same-name property always overwrites all the previous ones.
48+
This pattern is often used to give browsers that don’t understand linear gradients a fallback solution (e.g. gray color in the example).
49+
In CSSOM, `background: gray` [gets overwritten](http://nv.github.io/CSSOM/docs/parse.html#css=div%20%7B%0A%20%20%20%20%20%20background%3A%20gray%3B%0A%20%20%20%20background%3A%20linear-gradient(to%20bottom%2C%20white%200%25%2C%20black%20100%25)%3B%0A%7D).
50+
The last same-name property always overwrites all the previous ones.
4951

50-
This pattern is often used to give browsers that don’t understand linear gradients a fallback solution (e.g. gray color in the example). If you do CSS mungling, minification, image inlining, and such, CSSOM.js is not a good solution for you, look for alternatives instead:
52+
53+
If you do CSS mungling, minification, image inlining, and such, CSSOM.js is not a good solution for you, look for alternatives instead:
5154

5255
* [reworkcss/css](https://github.com/reworkcss/css)
5356
* [csso](https://github.com/css/csso)

0 commit comments

Comments
 (0)