CSS Flashcards
1
Q
Name three different types of values you can use to specify colors in CSS.
A
RGB, Hex code, color name
2
Q
What CSS properties make up the box model?
A
Margin, padding and border
3
Q
Which CSS property pushes boxes away from each other?
A
Margin
4
Q
Which CSS property add space between a box’s content and its border?
A
Padding
5
Q
What is a pseudo-class?
A
A class applied under a certain condition or event , allows the change of an elements appearance
6
Q
What are CSS pseudo-classes useful for?
A
Changing the appearance of an element
7
Q
Name at least two units of type size in CSS.
A
Pixel and Percentages
8
Q
What CSS property controls the font used for the text inside an element?
A
Font-Family