How to change the styles in element :after on hover on the parent?

Hello, how to change the styles in element :after on hover on the parent?
July 9th 19 at 13:00
2 answers
July 9th 19 at 13:02
Solution
.element .el:hover:after
.element .el:hover .el2:after
July 9th 19 at 13:04
CSS has long had Affairs, but isn't that so?
parent:hover element:after {
 color: red;
}

Find more questions by tags CSSHTML