border width height css code example
Example 1: border width css
.element {
border-width: 2px;
}
Example 2: border width css
element {
border-width: 10px;
/* Or use shorthand border property */
/* width style colour */
border: 10px solid black;
}
Example 3: box sizing border box
*{
box-sizing: border-box;
}