feat(seed): Fix attribute selector grammar error (#16676)
Changed the word "style" to "styles" Closes #16675
This commit is contained in:
committed by
Stuart Taylor
parent
b02aafc9b6
commit
98d92c3e58
@ -2475,7 +2475,7 @@
|
|||||||
"description": [
|
"description": [
|
||||||
"You have been giving <code>id</code> or <code>class</code> attributes to elements that you wish to specifically style. These are known as ID and class selectors. There are other CSS Selectors you can use to select custom groups of elements to style.",
|
"You have been giving <code>id</code> or <code>class</code> attributes to elements that you wish to specifically style. These are known as ID and class selectors. There are other CSS Selectors you can use to select custom groups of elements to style.",
|
||||||
"Let's bring out CatPhotoApp again to practice using CSS Selectors.",
|
"Let's bring out CatPhotoApp again to practice using CSS Selectors.",
|
||||||
"For this challenge, you will use the <code>[attr=value]</code> attribute selector to style the checkboxes in CatPhotoApp. This selector matches and style elements with a specific attribute value. For example, the below code changes the margins of all elements with the attribute <code>type</code> and a corresponding value of <code>radio</code>:",
|
"For this challenge, you will use the <code>[attr=value]</code> attribute selector to style the checkboxes in CatPhotoApp. This selector matches and styles elements with a specific attribute value. For example, the below code changes the margins of all elements with the attribute <code>type</code> and a corresponding value of <code>radio</code>:",
|
||||||
"<blockquote>[type='radio'] {<br> margin: 20px 0px 20px 0px;<br>}</blockquote>",
|
"<blockquote>[type='radio'] {<br> margin: 20px 0px 20px 0px;<br>}</blockquote>",
|
||||||
"<hr>",
|
"<hr>",
|
||||||
"Using the <code>type</code> attribute selector, try to give the checkboxes in CatPhotoApp a top margin of 10px and a bottom margin of 15px."
|
"Using the <code>type</code> attribute selector, try to give the checkboxes in CatPhotoApp a top margin of 10px and a bottom margin of 15px."
|
||||||
|
Reference in New Issue
Block a user