Codechef4u is a community for computer professionals,by computer professionals,just like you; who loves sharing and helping each others,Join them
Share your post

Set color and width for border using CSS

The border-width property  

The border-width property sets the width of an element's four borders.

border width property values,

border-width: medium|thin|thick|length|initial|inherit;

Code example

div.dashboard {
    border-width: medium;
}

The border-color property

The border-color property sets the color of an element's four borders.

Code example

 div.dashboard {
    border-width: medium;
    border-color:gray;
}

Invalid entry,please enter valid data.

Loading