I'm currently trying to make a circle with sections in which if you hover over a section a specific text is shown. The problem with my code is that for me to be able to tell if the section is hovered I have to use
.lis:nth-child(10):hover .section { opacity: 1;}
I searched on internet and I found the selector ~ but for me to be able to use it I would need to do something like
.lis:nth-child(10):hover .section ~~~ .text0 { opacity: 1;}
But this does not work, here is a link to the codepen I am currently working on.