border
property
Shorthand for border-width, border-style, and border-color. Can be set per side.
Syntax
border: width style color;
Example
css
.box {
border: 2px solid #333;
}
.dashed { border: 1px dashed #ccc; }
.top { border-top: 3px solid #e74c3c; }
.none { border: none; }
/* Individual sides */
.card {
border: 1px solid #e0e0e0;
border-top: 4px solid #3498db;
}