Fix minor grammar issue in override-styles-in-subsequent-css.english.md (#37871)
This commit is contained in:
committed by
Randell Dawson
parent
8af54eb272
commit
dc5c0c7f82
@ -19,7 +19,7 @@ Apply the <code>blue-text</code> class to your <code>h1</code> element in additi
|
|||||||
Applying multiple class attributes to a HTML element is done with a space between them like this:
|
Applying multiple class attributes to a HTML element is done with a space between them like this:
|
||||||
<code>class="class1 class2"</code>
|
<code>class="class1 class2"</code>
|
||||||
<strong>Note:</strong> It doesn't matter which order the classes are listed in the HTML element.
|
<strong>Note:</strong> It doesn't matter which order the classes are listed in the HTML element.
|
||||||
However, the order of the <code>class</code> declarations in the <code><style></code> section are what is important. The second declaration will always take precedence over the first. Because <code>.blue-text</code> is declared second, it overrides the attributes of <code>.pink-text</code>
|
However, the order of the <code>class</code> declarations in the <code><style></code> section is what is important. The second declaration will always take precedence over the first. Because <code>.blue-text</code> is declared second, it overrides the attributes of <code>.pink-text</code>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
Reference in New Issue
Block a user