Border color in css

Total Post:341

Points:2389
 1077  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. 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;

      Modified On Mar-30-2018 03:48:48 AM

Answer