prep-css-qna Flashcards

1
Q

What are some characteristics of block?

A

It starts on a new line, and takes up the whole width

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

What are some characteristics of inline?

A

Any height and width properties will have no effect

only take up as much space as needed

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

What are some characteristics of inline-block?

A

element itself is formatted as an inline element, but you can apply height and width values

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

What CSS properties make up the box model?

A

content
padding
border
margin

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

Which CSS property pushes boxes away from each other?

A

the margin

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

Which CSS property pushes box content away from its border?

A

the padding

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

What is the purpose of CSS?

A

describes how HTML elements are to be displayed on screen, paper, or in other media
saves work
controls layout of multiple web pages all at once

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

Describe the syntax of a CSS rule-set.

A

selector and declaration block with a declaration of a

property:value

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