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

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable