BORDER COLOR IN CSS

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
 872  View(s)
Ratings:
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.
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: Border color in css

    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;

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!