The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › element:hover element:after change
If I have an element, and a pseudo :after that element, what is the syntax to make the after change when I hover over the element?
`.class:after:hover` if you’re styling the `:after` pseudo-element on hover.
Thanks. I want the :after to change when I hover over the .class
something like this:
.class:hover .class:after{change something}
maybe it can’t be done because the :after is not in the .class? either way thanks for the feedback.
figured it out
.class:hover:after{change something}