Skip to content

CSS code snippet – How to select child when hover on parent element ?

/* Selecting a child element on :hover parent element*/ 
.parent:hover .child {
   /* ... */
}
See also  CSS code snippet - How to mirror object through ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.