Quick start
Paste input, review output instantly, then copy it for your workflow.
Generate CSS border triangle snippets for direction and size.
Updated
Generate CSS border triangle snippets for direction and size.
Input format: Line 1=direction (up/down/left/right), Line 2=size px, Line 3=color
Quick start
Enter input and view computed output.
Paste or type your data in the input box.
The tool processes input instantly in your browser.
Copy output and continue your workflow.
In-depth guide
Generate CSS border triangle snippets for direction and size. This tool is designed for fast local processing and practical day-to-day use.
Paste input, review output instantly, then copy it for your workflow.
Use one value per line for structured inputs. Common separators are handled gracefully.
Processing runs in your browser tab for the MVP workflow, with no mandatory upload step.
Use this tool for quick browser-based work when you need an answer or output immediately. Use a dedicated application or automated workflow when you need bulk processing, approvals, or repeatable production rules.
A zero-size element with thick borders shows four colored triangles where the borders meet. Making three borders transparent leaves a single triangle.
The visible triangle points away from the transparent sides. Swap which borders are colored versus transparent to point it up, down, left or right.
Border width sets the size: a larger perpendicular border makes a taller triangle, and the two side borders set the base width.
The border trick is great for tooltip and dropdown arrows with no extra markup. For complex or scalable shapes, an SVG or clip-path is cleaner.
The element must have zero width and height, and the correct three borders must be transparent. Any padding or content will distort it.
No. The CSS is generated locally in your browser.
Keep exploring
Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.
Generate layered-looking box shadows with visual controls for offset, blur, spread and opacity.
Create custom rounded corners visually and copy exact border-radius CSS shorthand.
Build responsive CSS grid layouts with live rows, columns and gap controls.
Shrink PDF file size without uploading to a server.
Body Mass Index with metric / imperial inputs and WHO category bands.
Combine multiple PDFs into one in your browser.
Split a PDF by pages or page ranges, download as zip.