Reputation: 214
Guys actually I need help to make a single border double colored. It means a single line 25 % of red and other 75% of blue color using CSS.
My non-working code:
element {
border-bottom:2px solid red;
position:relative;
z-index:999;
opacity:1;
I think it can be possible by :before
and :after
pseudo elements.
Upvotes: 0
Views: 173