Free tools • Fresh ideas

CSS Border Generator

Preview a border using a width, line style, and colour.

Processing takes place in your browser.

How to use the CSS Border Generator

Use a width of at least three pixels for a readable double border. Border widths affect the outer size of content-box layouts. To include them in the declared width, use border-box.

Related tools

Related guides

Browse learning guides