Here is some CSS code:
.myDiv:before{
content:'';
width:15px;
height:15px;
display:block;
}
.myDiv:after{
...
...
display:none;
}
And here is the corresponding HTML code:
<div class='myDiv'></div>
I am wondering if there is a way to display the .myDiv:after pseudo-element when hovering over the :before element. I know I can use the hover selector as .myDiv:hover:before, but I'm not sure how to target the :after pseudo-element within that selector.