CSS Flashcards

1
Q

Name three different types of values you can use to specify colors in CSS.

A

RGB, Hex code, color name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What CSS properties make up the box model?

A

Margin, padding and border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which CSS property pushes boxes away from each other?

A

Margin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which CSS property add space between a box’s content and its border?

A

Padding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a pseudo-class?

A

A class applied under a certain condition or event , allows the change of an elements appearance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are CSS pseudo-classes useful for?

A

Changing the appearance of an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name at least two units of type size in CSS.

A

Pixel and Percentages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What CSS property controls the font used for the text inside an element?

A

Font-Family

How well did you know this?
1
Not at all
2
3
4
5
Perfectly