To create a fading transparent effect from the bottom to the top, you would use a linear-gradient starting with a color and ending with ________.
- White
- Transparent
- Black
- Gray
The correct option is "Transparent." This is because in a linear-gradient, the color transition from the starting color to transparent creates a fading effect, allowing the background to show through gradually.
Loading...
Related Quiz
- Which CSS units are considered to be relative units that allow for responsive designs?
- The CSS function ______ allows you to perform arithmetic calculations directly within your stylesheets.
- Which CSS property adjusts the space between lines of text?
- When designing for mobile-first, it's recommended to start with a ________ viewport width in CSS before adjusting for larger screens.
- A web developer notices that a CSS animation is not working in Safari but functions correctly in Chrome and Firefox. What is the first step they should take to troubleshoot this issue?