What CSS property is used to create a linear gradient background?
- background-color: linear-gradient
- background: gradient
- linear-background: color
- background: linear-gradient
The correct option is background: linear-gradient. This property is used to create a linear gradient background. It allows you to specify the direction, starting point, and color stops of the gradient.
Loading...
Related Quiz
- What's the difference between the CSS functions min(), max(), and clamp()?
- The concept of ___________ involves identifying and prioritizing the rendering of only the necessary CSS needed for the above-the-fold content.
- When creating a cut-out text effect using shadows, the ________ property is essential to hide the original text color.
- Bootstrap's grid system is based on a series of rows and ________, which help create responsive layouts.
- To optimize the critical rendering path, it's important to ensure that ________ CSS is loaded as quickly as possible.