CSS Box Model, Transition, Media-Queries Flashcards
1
Q
What CSS properties make up the box model?
A
It consists of: margins, borders, padding, and the actual content.
2
Q
Which CSS property pushes boxes away from each other?
A
Margin
3
Q
Which CSS property add space between a box’s content and its border?
A
Padding
4
Q
The transition property is shorthand for which four CSS properties?
A
Delay, duration, property, timing-function.
5
Q
Give two examples of media features that you can query in an @media rule.
A
min-width and max-width
6
Q
Which HTML meta tag is used in mobile-responsive web pages?
A
Viewport