Skip to content
Convertto

A CSS3Gen alternative, property by property

People searching this way want the correct syntax for a specific CSS3 property, with a preview to confirm the values are right.

Convertto has a generator for each of the CSS3 properties whose syntax is hard to hold in your head: `box-shadow`, `text-shadow`, `transform`, `border-radius`, `filter`, `transition` timing and gradient backgrounds. Each one is built around the property's own arguments, previews live, and outputs the rule as plain CSS.

Organised by
The CSS property, not by visual effect
Output
A single plain CSS declaration or rule
Vendor prefixes
Not emitted. The properties here have been unprefixed for years
Cost
Free, no sign-up

What you are looking for, and the tool that does it

The jobConvertto toolWhat it does
box-shadowCSS Box Shadow GeneratorOffset, blur, spread, colour and inset, with a layered variant
text-shadowCSS Text Shadow GeneratorOffset, blur and colour, including stacked shadows for outlines
border-radiusCSS Border Radius GeneratorPer-corner radii including the two-value elliptical form
transformCSS Transform GeneratorBuilds a 2D or 3D transform visually, with the transform origin handled
transition timingCubic Bezier Easing GeneratorDraws the easing curve and outputs the cubic-bezier() value
linear-gradient and friendsCSS Gradient GeneratorLinear, radial and conic gradients with any number of stops
filterCSS Filter GeneratorBlur, brightness, contrast, saturate, hue-rotate and drop-shadow
animationCSS Animation GeneratorGenerates keyframe animations: fade, slide, bounce, pulse, spin and shake
rgba and colour formatsColour ConverterConverts a colour to HEX, RGB, HSL, HSV, CMYK and LAB, with contrast and harmonies

The properties worth generating

Not every property needs a tool. color, padding and display are quicker typed. The ones below are worth a generator because their value is a list of positional arguments whose effect is not obvious from the numbers.

PropertyValue shapeWhat is hard about it
box-shadowx y blur spread colour, optionally inset, comma-separatedFour length values whose interaction is only visible rendered
text-shadowx y blur colour, comma-separatedStacking four copies to fake an outline is not obvious
border-radiusUp to eight values split by a slashThe elliptical form reads as nonsense until you see it
transformA space-separated list of functionsOrder matters: rotate then translate differs from the reverse
cubic-bezier()Four control-point numbersNobody reads an easing curve from four decimals
linear-gradient()Angle plus colour stops with optional positionsStop placement is where the banding lives
filterA space-separated list of functionsFunctions compose in order, and some of them are expensive

Transform order is not commutative

This is the single most common CSS3 surprise. Transform functions apply left to right against a moving coordinate system, so rotating and then translating moves the element along its own rotated axis, while translating and then rotating moves it along the page axis and spins it in place. The generator composes the list in the order you add functions, so the preview shows you which one you asked for.

/* moves 100px along the rotated axis */
transform: rotate(45deg) translateX(100px);

/* moves 100px right, then spins in place */
transform: translateX(100px) rotate(45deg);

Vendor prefixes are over

Beyond single properties

Layout has its own generators: flexbox, grid, multi-column and media queries. For the parts of CSS that are reasoning rather than syntax, there is a specificity calculator and a z-index and stacking context checker. The CSS generators hub has the full list.

Frequently asked questions

Does the output include vendor prefixes?

No. The properties covered here are unprefixed in every current browser, so prefixed duplicates would only pad the rule. Backdrop filter is the exception and is handled where it appears.

Why does my transform go the wrong way?

Transform functions apply in order against a moving coordinate system. rotate() then translateX() moves along the rotated axis; swap them and it moves along the page axis first.

Can I generate keyframe animations?

Yes. The animation generator produces keyframe animations such as fade, slide, bounce, pulse, spin and shake, and the easing generator produces the cubic-bezier() value to go with them.

Is any of this sent to a server?

No. The generators compute the rule in the page, so nothing you type or configure leaves the browser.

Open a tool

Last updated

Browse css generators