About 8,950,000 results
Open links in new tab
  1. CSS linear-gradient() Function - W3Schools

    The CSS linear-gradient() function creates a linear gradient as the background. To create a linear gradient you must define at least two color stops. Color stops are the colors you want to render smooth transitions among.

  2. linear-gradient() - CSS: Cascading Style Sheets | MDN - MDN Web Docs

    Mar 18, 2025 · The linear-gradient() CSS function creates an image consisting of a progressive transition between two or more colors along a straight line. Its result is an object of the <gradient> data type, which is a special kind of <image>.

  3. CSS Gradients - W3Schools

    CSS gradients let you display smooth transitions between two or more specified colors. CSS defines three types of gradients: To create a linear gradient you must define at least two color stops. Color stops are the colors you want to render smooth transitions among.

  4. How to use Linear Gradient in CSS? - GeeksforGeeks

    Sep 10, 2024 · CSS Linear Gradient is a built-in function that enables you to create smooth transitions between two or more colors along a straight line. This function is highly versatile, allowing you to specify the starting point and direction (or angle) of the gradient, thereby determining the flow of colors.

  5. Using CSS gradients - CSS: Cascading Style Sheets | MDN - MDN Web Docs

    Feb 10, 2025 · We'll start by introducing linear gradients, then introduce features that are supported in all gradient types using linear gradients as the example, then move on to radial, conic and repeating gradients. A linear gradient creates a …

  6. CSS linear-gradient () Function - GeeksforGeeks

    Aug 30, 2024 · The linear-gradient () function is an inbuilt function in CSS that is used to set the linear gradient as the background image. Syntax: background-image: linear-gradient( direction, color1, color2, ... Parameters: This function accepts one direction parameter and many color parameters which are listed below:

  7. How to create linear gradient background using CSS

    May 15, 2023 · CSS linear-gradient property lets you display smooth transitions between two or more colors. Syntax: background-image: linear-gradient(direction, color1, color2, ...); Parameters: direction: Specify the direction of the transition. The default value is 180deg (if not specified). color1: Specify the first color. color2: Specify the second color.

  8. CSS linear-gradient() Function - Quackit Tutorials

    To create a linear gradient, use the linear-gradient() function as a value to any property that accepts images (for example, background-image, background, or border-image properties). CSS gradients use these properties to build an image of the specified gradient.

  9. CSS Linear Gradient (With Examples) - Programiz

    CSS linear-gradient() function creates a smooth linear transition between two or more colors. For example, height: 200px; background: linear-gradient(orange, red); Browser Output. Here, the linear-gradient function creates a smooth vertical transition from orange to red color. The syntax of the linear-gradient() function is as follows,

  10. CSS Linear Gradient Explained with Examples - Expertbeacon

    Aug 18, 2024 · CSS linear gradients provide an easy way to add beautiful, subtle background effects to any element with smooth color transitions across a straight line. Whether flowing vertically, horizontally or diagonally, gradients enhance UI designs with eye-catching results.

  11. Some results have been removed
Refresh