Merge pull request #6344 from raisedadead/fix/waypoint-override-styles-in-subsequent-css

An additional explanation in instruction
This commit is contained in:
Rex Schrader
2016-01-20 12:54:00 -08:00

View File

@ -3100,7 +3100,8 @@
"Apply the <code>blue-text</code> class to your <code>h1</code> element in addition to your <code>pink-text</code> class, and let's see which one wins.", "Apply the <code>blue-text</code> class to your <code>h1</code> element in addition to your <code>pink-text</code> class, and let's see which one wins.",
"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>",
"Note: It doesn't matter which order the classes are listed in." "Note: 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>&#60;style&#62;</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>"
], ],
"challengeSeed": [ "challengeSeed": [
"<style>", "<style>",