I'm trying to display a text when hovering on another text but it is not working. I followed every steps on another similar questions but it is still not working
Code:
.text-mada {
width: 18%;
position: relative;
left: 760px;
background-color: rgba(255, 255, 255, 0.8);
text-align: justify;
padding: 15px;
z-index: 2;
bottom: 750px;
display: none;
}
.dot-mada {
position: relative;
text-align: center;
font-size: 50px;
left: 52px;
bottom: 44px;
.dot-mada:hover + .text-mada {display: block}
My goal is that when .dot-mada
is hovered, .text-mada
is displayed
PS: I'm a begginner so this might be a dumb question for you guys, lol