Changed "s" to "a" to make grammatical sense in line 24 (#23162)
Changed "s" to "a" to make grammatical sense in line 24. Added "as mentioned before" to reference previous example of multiple class used.
This commit is contained in:
@ -24,7 +24,7 @@ You can then style these elements with CSS. Classes are referenced with a period
|
||||
This code will give a blue background and red text color to all the elements which have the `super-man` class.
|
||||
[View this example on CodePen](https://codepen.io/Tlandis/pen/RLvomV).
|
||||
|
||||
You can also declare more than one class to your element, like:
|
||||
You can also declare more than one class to your element as mentioned before, like:
|
||||
|
||||
```html
|
||||
|
||||
@ -69,3 +69,4 @@ You can see the result of the above code [here](https://codepen.io/Tlandis/pen/R
|
||||
- [css-tricks](https://css-tricks.com/how-css-selectors-work/)
|
||||
- [How to Code in HTML5 and CSS3](http://howtocodeinhtml.com/chapter7.html)
|
||||
- [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class)
|
||||
|
||||
|
Reference in New Issue
Block a user