Concept Flow
Start Color (#FF0000) --> Linear Gradient --> End Color (#0000FF) Angle: 90 degrees (left to right)
The linear gradient is created by blending the start color to the end color along the specified angle.
Start Color (#FF0000) --> Linear Gradient --> End Color (#0000FF) Angle: 90 degrees (left to right)
linear-gradient(90deg, #FF0000, #0000FF)This code defines a linear gradient from red to blue horizontally.
| Step | Expression | Evaluates To | Explanation |
|---|---|---|---|
| 1 | Angle = 90 degrees | 90 degrees | Defines gradient direction from left to right. |
| 2 | Start Color = #FF0000 (red) | #FF0000 | Gradient starts with red color. |
| 3 | End Color = #0000FF (blue) | #0000FF | Gradient ends with blue color. |
| 4 | Combine angle and colors | linear-gradient(90deg, #FF0000, #0000FF) | Creates the horizontal gradient from red to blue. |
| Variable | Value |
|---|---|
| Angle | 90 degrees |
| Start Color | #FF0000 |
| End Color | #0000FF |