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  Python code snippet - How to collect the index of a pandas dataframe into a list?

Leave a Reply

Your email address will not be published.

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