Skip to content
HTML.ONE
Home CSS Properties

CSS Border

Sets border width, style and colour in a shorthand.

Example

border: 2px solid #2563eb;

Further reference

MDN CSS reference

Live preview