HTML Dog

Skip to navigation

CSS Property: border, border-top, border-right, border-bottom, border-left

Specifies the border of a box. The value can combine border-style, border-width and border-color for a whole four-sided border (with the border property) or just one side of a border (with the other four).

Possible Values

Example


.this { border-top: 1px solid black; }
		
.that { border: 1em dotted #fc0; }