Is there a way using CSS to make a container like:
#p-container .p-categories-item
affect the images within that div? I have a CSS animation on the images, but I would like it to play when I hover over the entire element, not just actual image itself. Thanks.开发者_开发知识库
Just use #p-container .p-categories-item:hover img { /* stuff */ } to select the image inside the .p-categories-item element only when it's being hovered over. 
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论