Tools / Design

CSS Generator

Gradients, shadows, glass, blob shapes, text shadow, clip-path and triangles with a live preview. Copy plain CSS or a Tailwind class.

CSS

Tailwind

Presets

How to use it

  1. Pick a tab, such as Gradient or Box shadow.
  2. Adjust the controls or start from a preset. The preview updates live.
  3. Copy the CSS, or the Tailwind class if you use Tailwind.

Questions

Does the generated CSS work in all browsers?

Yes for every current browser. Glass uses backdrop-filter, so the code includes the -webkit- prefix for Safari.

Can I use the output with Tailwind CSS?

Yes. Each tab also gives a Tailwind arbitrary value class, such as shadow-[...] or bg-[linear-gradient(...)].

How do I add more gradient colors?

Click anywhere on the gradient bar to add a stop. Drag stops to move them, or select one and use the arrow keys.