Lesson 3 Flashcards

1
Q

whats the cascading order and specificity weight of these selectors:class,id,type

A

type: 0-0-1
class: 0-1-0
id: 1-0-0

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

which is the key selector and which is the prequalifier:
.hotdog p {
background: brown;
}

A

p is the key selector

.hotdog is the prequalifier

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

what is the specificity weight of the following:
.hotdog p.mustard
what is the key selector
what is the prequalifier(s)

A

0-2-1

mustard

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

what are the different ways of applying the color value

A

black
#000000
rgb(0, 0, 0)
hsl(0, 0%, 0%)

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

how many pixels are in an inch

A

96

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

what are the types of absolute lengths

A

pixels percentages and em
font-size:5px
width:5em/50%

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