[css/en] Fix typos

This commit is contained in:
Denis Malinochkin 2015-02-16 12:44:33 +03:00
parent 3f5eb2da6f
commit 4d0c340347

View File

@ -37,7 +37,7 @@ selector { property: value; /* more properties...*/ }
/* the selector is used to target an element on page.
You can target all elments on the page using asterisk! */
You can target all elements on the page using asterisk! */
* { color:red; }
/*
@ -89,7 +89,7 @@ div.some-parent > .class-name {}
and is child of a div with class name "some-parent" IN ANY DEPTH */
div.some-parent .class-name {}
/* warning: the same selector wihout spaaace has another meaning.
/* warning: the same selector without space has another meaning.
can you say what? */
div.some-parent.class-name {}
@ -152,7 +152,7 @@ selector {
/* Fonts */
font-family: Arial;
font-family: "Courier New"; /* if name has spaaace it appears in single or double quotes */
font-family: "Courier New"; /* if name has space it appears in single or double quotes */
font-family: "Courier New", Trebuchet, Arial, sans-serif; /* if first one was not found
browser uses the second font, and so forth */
}
@ -230,7 +230,7 @@ Remember, the precedence is for each **property**, not for the entire block.
## Compatibility
Most of the features in CSS2 (and gradually in CSS3) are compatible across
all browsers and devices. But it's always vital to have in mind the compatiblity
all browsers and devices. But it's always vital to have in mind the compatibility
of what you use in CSS with your target browsers.
[QuirksMode CSS](http://www.quirksmode.org/css/) is one of the best sources for this.