Home > DeveloperSection > Forums > Border color in css
Ankit Singh

Total Post:341

Points:2389
Posted on    June-15-2013 1:22 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 615  View(s)
Rate this:
Hi Expert,

Hi  Expert,

How to set the div border (top, left, bottom, right) with different color in css?
Can you provide me line of code. 

Thanks in advance.


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-15-2013 4:06 AM

Hi Ankita,

You can set the border color as following 

border-bottom-color:#FFFFFF;
border-left-color:#FF00FF;
border-right-color:#0000FF;
border-top-color:#00FF00;

Don't want to miss updates? Please click the below button!

Follow MindStick