Gradients Flashcards
Y/N: Does the background image value need to be declared before the gradient value in order for the gradient to overlay the image?
No
The keyword “transparent” refers to what color value?
- rgba(0, 0, 0, 0)
In order for a gradient to extend the full height of a page, what declaration needs to be applied to the html element?
height: 100%
What is one of the ways we can prevent a transparent gradient from having a greyish tone?
- using “rgba(255, 255, 255, 0)” instead of “transparent”
Y/N: Is the syntax for repeating linear and radial gradients different from their non-repeating syntaxes?
No
How do we apply multiple gradients to an element’s background?
- with comma-separated gradient values
How do we create a repeating gradient with smoother color transitions?
- make the last color-stop value the same as the first
How are the color transitions shifted apart in repeating gradients?
- the difference between the last and first strop positions