css_gradient
Create linear, radial, or conic CSS gradients with custom direction, color stops, and browser prefixes.
Instructions
Generate CSS gradient code. Supports linear, radial, and conic gradients with direction, stops, and browser prefixes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Gradient type: linear, radial, conic | |
| colors | Yes | Array of colors (strings) or color stops ({color, position}). Minimum 2. | |
| direction | No | Direction/shape. Linear: 'to right', '45deg'. Radial: 'circle at center', 'ellipse at top'. Conic: 'from 0deg at center'. | |
| includePrefix | No | Include -webkit- browser prefix. Default: true. |