3.3 css Flashcards

1
Q

What is the box model in CSS?

A

“A model for borders and outlines”

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

List possible values for the border-style property.

A

“none

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

List possible values for the border-width property.

A

“thin

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

How can margin be set in CSS?

A

“{margin: value} with number values (margin-top

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

How can padding be set in CSS?

A

“{padding: value} with number values (padding-top

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

What are possible values for the background-repeat property?

A

“repeat (default)

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

What are possible values for the background-position property?

A

“top

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

What is the purpose of the <span> tag in CSS?

A

“Just for defining style”

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

What is the purpose of the <div> tag in CSS?

A

“Apply style to several elements”

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

What are the rules for conflict resolution in CSS?

A

“Selector Rules: Specificity

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

What are the origins of rules in conflict resolution?

A

“Author’s vs. Reader’s: Important declarations with user origin

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