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
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
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
4
Q
what are the different ways of applying the color value
A
black
#000000
rgb(0, 0, 0)
hsl(0, 0%, 0%)
5
Q
how many pixels are in an inch
A
96
6
Q
what are the types of absolute lengths
A
pixels percentages and em
font-size:5px
width:5em/50%