Created
May 24, 2012 10:32
-
-
Save tyv/2780756 to your computer and use it in GitHub Desktop.
Наследуемые значения наследуются по оси потомков.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Наследуемые значения наследуются по оси потомков. | |
Практически все свойства блочной модели не наследуются | |
http://www.w3.org/TR/CSS/#properties | |
*/ | |
/* | |
Наследуемые занчения не имеют специфичности | |
это отличается от специфичности = 0 | |
*/ | |
* | |
{ | |
color: gray; | |
} | |
div | |
{ | |
color: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>some text and <span>spanned text</span></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment