brand-logo
CSS Visual Rules
Lesson Review Finish


Review


1. CSS declarations are structured into property and value pairs.

2.The font-family property defines the typeface of an element.

3. font-size controls the size of text displayed.

4. font-weight defines how thin or thick text is displayed.

5. The text-align property places text in the left, right, or center of its parent container.

6. Text can have two different color attributes: color and background-color. color defines the color of the text, while background-color defines the color behind the text.

7. CSS can make an element transparent with the opacity property.

8. CSS can also set the background of an element to an image with the background-image property.

9. The !important flag will override any style, however it should almost never be used, as it is extremely difficult to override.