CSS Arrow Generator

Next

Create a simple CSS arrow. Choose right, left, up or down, set a colour, size and border thickness, then copy the generated .arrow rule.

Create a CSS arrow

  1. 1

    Choose a direction

    Select right, left, up or down.

  2. 2

    Set the appearance

    Choose a colour, square size and border thickness in pixels.

  3. 3

    Copy the CSS

    Review the preview and copy the generated `.arrow` rule.

What the generator creates

The generator creates one square .arrow element. It uses display: inline-block, equal width and height, a right and bottom border in your chosen colour, and transform: rotate(...) for the four available directions.

It does not generate the zero-size border-triangle technique, clip-path, SVG, diagonal arrows, outlined arrows, gradients, tooltip tails, offsets, HTML snippets, or browser-compatibility advice. It also does not validate whether the rule fits your layout. Test the copied CSS in your own page.

Frequently Asked Questions

Right, left, up and down. The output rotates the same bordered square for each choice.

No. It produces only the simple bordered-square CSS rule shown in the editor.

No. It outputs only the CSS rule for one .arrow element.

Related Tools