How To Change Border Size In 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: border width css


#some-div {
/* [WIDTH] [FILL MODE] [COLOR] */
border: 5px solid #f00;

/* draws solid a red line of 5px
between the padding (inside the div)
and the margin (outside the div) */

}

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy