I have two CSSs.
The first one is this:
#breadcrumbs-cool a::before{
content: "";
position: absolute;
top: 50%;
margin-top: -1.5em;
border-width: 1.5em 0 1.5em 1em;
border-style: solid;
border-color: #ccc #ccc #ccc transparent;
left: -1em;
}
Then the next
#breadcrumbs-cool a.disable::before{
content: "";
position: absolute;
top: 50%;
margin-top: -1.5em;
border-width: 1.5em 0 1.5em 1em;
border-style: solid;
border-color: #eee #eee #eee transparent;
left: -1em;
}
Notice that the only difference are class directive
a::before
a.disable::before
And border color: #ccc versus #eee.
How can I refactor these two CSS?