Runs/gradient · sample · Haiku 4.5/033
gradient · sample · Haiku 4.5 · trial 033 of 100
the answer
#667eea #764ba2
What the model said
Here's a simple CSS gradient example:
```css
.gradient-box {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
width: 200px;
height: 200px;
}
```
This creates a diagonal gradient from purple-blue to purple. Here are a few other variations:
**Horizontal gradient:**
```css
background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
```
**Radial gradient:**
```css
background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
```
**Multi-color gradient:**
```css
background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta);
```
**Gradient with specific positions:**
```css
background: linear-gradient(180deg, #ff9a56 0%, #ff6a88 50%, #a371d7 100%);
```
The basic syntax is: `linear-gradient(direction, color-stop1, color-stop2, ...)` where direction can be angles (like `135deg`) or keywords like `to right`, `to bottom`, etc.