In the last lesson we talked about selectors. Those tell the computer which part of the page you want to style. I have some more vocabulary for you today: property and value. The property is what you want changed and the value is what you want it changed to.
We’ve used the color property in our experimenting. If we write, color:red, we are saying we want the property color to take on the value of red.
This says that we want all of the words in all the parts of the page labeled as paragraphs with a <p> tag to be in the Times font. We’re selecting p to have Times as the value for the font property.
Here are some common properties that you will be using.
font-size Notice the hyphen. They will always be one word like that.
background, background-image, background-color
text-align, text-decoration, text-shadow, text-transform
You can watch the video of this lesson on my youtube channel.