CSS (3/16) Flashcards
1
Q
What is a pseudo-class?
A
Defines a special state of an element.
2
Q
What are CSS pseudo-classes useful for?
A
Style an element when a user mouses over it
Style visited and unvisited links differently
Style an element when it gets focus
3
Q
Name two types of units that can be used to adjust font-size in CSS.
A
mm
cm
4
Q
What CSS property controls the font used for the text inside an element?
A
font
5
Q
What is the default flex-direction of a flex container?
A
row
6
Q
What is the default flex-wrap of a flex container?
A
nowrap