toolmio

Create a CSS gradient

Choose two colors and an angle for a linear gradient.

How to use it

Set the two colors and angle, and copy the CSS shown in the preview.

Result

The CSS declaration appears in a read-only field you can copy into your stylesheet. The preview shows the same gradient.

Formats and limits

Two-color linear RGB gradient with an adjustable angle.

If something goes wrong

If the gradient does not appear on your site, check that the element has a height and that a later rule does not override background.

What do I paste into my stylesheet?

Copy the background declaration containing the angle and both colors. Changing the controls updates the preview.

What happens to what you type

What you type is processed on this page and is not sent to any server. It is cleared when you reload or close the page.