CSS Fonts, Color, Transforms & Transitions Flashcards
1
Q
Name at least two units of type size in CSS.
A
Pixels, percentages, rem
2
Q
What CSS property controls the font used for the text inside an element?
A
Font-family
3
Q
Name three different types of values you can use to specify colors in CSS.
A
RGB values , HEX codes, color names
4
Q
What does the transform property do?
A
It is a CSS property that modifies an element to change the way it is visually represented
5
Q
Give four examples of CSS transform functions.
A
Rotate, scale, skew and translate
6
Q
Thetransitionproperty is shorthand for which four CSS properties?
A
Transition-property, transition-duration,
transition-timing-function, and transition-delay