Borders and Outlines

Border properties allow the author to control a box’s border—the area between its padding and its margins. You can also read The CSS Box Model for more information about borders.

Outline properties allow the author to control a box’s outline. The outline is usually drawn outside the border area but doesn’t take up any space like borders do.

In this Section

User-contributed notes

Related Products