Skip to content

Commit

Permalink
Merge pull request #5568 from wakqasahmed/fix/override-class-dec-by-i…
Browse files Browse the repository at this point in the history
…d-attr

Fix Waypoint: Override Class Declarations by Styling ID Attributes #5446
  • Loading branch information
SaintPeter committed Dec 31, 2015
2 parents 4404575 + bcdc546 commit 3c3e2b6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3597,7 +3597,8 @@
"Create a CSS declaration for your <code>orange-text</code> id in your <code>style</code> element. Here's an example of what this looks like:",
"<code>#brown-text {</code>",
"<code>&nbsp;&nbsp;color: brown;</code>",
"<code>}</code>"
"<code>}</code>",
"Note: It doesn't matter whether you declare this css above or below pink-text class, since id attribute will always take precedence."
],
"tests": [
"assert($(\"h1\").hasClass(\"pink-text\"), 'message: Your <code>h1</code> element should have the class <code>pink-text</code>.');",
Expand Down Expand Up @@ -3642,7 +3643,8 @@
"Crea una declaración CSS para tu identificación <code>orange-text</code> en tu elemento <code>style</code>. He aquí un ejemplo de como se ve esto: ",
"<code>#brown-text {</code>",
"<code>&nbsp;&nbsp;color: brown;</code>",
"<code>}</code>"
"<code>}</code>",
"Nota: No importa si usted declara este css encima o debajo de la clase de texto de color rosa, ya atributo id siempre tendrá prioridad."
],
"namePt": "",
"descriptionPt": [],
Expand Down

0 comments on commit 3c3e2b6

Please sign in to comment.