Universal Selector
The first selector we will focus on is the universal selector *
. This selector selects every HTML element. Example:
* {
color: pink;
}
This code changes the color of all HTML elements to pink.
Instructions
In the style.css
file, create a rule that sets the color of all elements to orange.
Start programming for free
2/12