Looking to modify an element based on the hover state of a pseudo-element. Here's what I've tried so far, but it isn't working as expected:
nav .logo {
display: none;
}
nav:before{}
nav:hover:before .logo {
display: block;
}
I want the div to be displayed when hovering over the before "element". Appreciate any assistance with this issue!