How can I change the border right color of a class using :after pseudo element?
Here is the CSS for the normal border:
.profile-options a div:after {
border-color: transparent #999999 transparent transparent;
border-style: solid;
border-width: 18px;
content: "";
display: block;
left: -15px;
margin-top: -33px;
position: absolute;
z-index: 999;}
I want to change the #999999 color to #333333 when selected with jQuery.
I tried these methods but they didn't work:
$(".profile-options a div:after").css({"borderRightColor":"#999"});
$(".yourOptions1:after").css({"borderRightColor":"#333"});