how to reduce the width of border in css code example
Example 1: border width css
.element {
border-width: 2px;
}
Example 2: border width css
element {
border-width: 10px;
border: 10px solid black;
}
Example 3: css border length
.page-title:after {
content: "";
display: block;
margin: 0 auto;
width: 50%;
padding-top: 20px;
border-bottom: 1px solid black;
}
Example 4: how to style rule to apply the Border Box model css
header, ul, nav, li, a {
display: block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;