Runs/gradient · sample · Haiku 4.5/076
gradient · sample · Haiku 4.5 · trial 076 of 100
the answer
#667eea #764ba2
What the model said
Here's a CSS gradient example:
```css
.gradient-background {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
height: 200px;
width: 100%;
}
```
Here are a few more variations:
**Horizontal linear gradient:**
```css
background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
```
**Vertical linear gradient:**
```css
background: linear-gradient(180deg, #ffd89b 0%, #19547b 100%);
```
**Radial gradient:**
```css
background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
```
**Multi-color gradient:**
```css
background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1);
```
The `linear-gradient()` function takes:
- Direction (like `90deg` for horizontal, or `135deg` for diagonal)
- Color stops (colors and their positions)
You can adjust the angle, colors, and add as many color stops as you need!