Quiz 2 Flashcards
1
Q
selector, property, value
A
selector specifies HTML elements to style.
property is the name of the css style. value is the value for the css style.
2
Q
ems vs rems
A
ems is relative to element size, rems is relative to root element size
3
Q
Steps of the Cascade Effect
A
- Browser’s default styles
- External style sheets (in a tag)
- Internal style sheets (in a tag in the page header)
- Inline style
4
Q
classes vs. ids
A
classes: used on many elements
id’s: used on only 1 element per page.