1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
The default value for the position property is:
a, fixed
b, static
c, relative
d, absolute
b
What is wrong with this code?
div{
position: static;
left: 10px;
}
a, The code works, but the left property is not necessary since static elements don't allow offsets
b, There is nothing wrong with this code.
c, "static" is not a valid option for position
a
If you want your navigation bar to remain visible, even when the user scrolls downward, you should use which type of positioning?
a, relative
b, static
c, fixed
d, absolute
c
Which of the following is the proper syntax for a pseudo-class?
a, selector->pseudo-class {
property:value;
}
b, :pseudo-class {
property:value;
}
c, selector::pseudo-class {
property:value;
}
d, selector:pseudo-class {
property:value;
}
d
Which of the following rules styles the first paragraph in each div?
a, div:first-child p{
color: blue;
}
b, div p{
color: blue;
}
c, div >p{
color: blue;
}
d, div p:first-child {
color: blue;
}
d
Which CSS3 property allows you to change property values smoothly over a given duration?
a, change
b, hover
c, focus
d, transition
d
Sometimes elements overlap one another. Which property specifies the stacking order of the elements? (A high value means it is more likely to be place in front of another.) ONLY PROVIDE THE PROPERTY, NOT A VALUE.
z-index
Which rule will change the text color of p elements with the class "highlight" when hovered over?
a, p.highlight:hover{
color:green;
}
b, p:hover{
color:green;
}
c, p:hover{
color:green;
}
d, p:hover > highlight{
color:green;
}
a
What are the four principles of Accessibility?
PORE
USE
POUR
WEBAIM
c
What is wrong with this code?
div{
position: relative;
left: 10px;
}
The code works, but the left property is not necessary since relative elements don't allow offsets
There is nothing wrong with this code.
"relative" is not a valid option for position
b