I want when hovering on yellow box which has the class named card
the element which is a blue box that has a class named box
to appear. I have done that in css like this
.box {
display: none;
}
.card:hover + .box {
display: inline-block;
position: absolute;
height: 30px;
width: 40px;
background-color: blue;
top: 114px;
right: 94px;
border-radius: 0px 0px 99px 99px;
}
but it didn't work with me what is the problem ? this is the sandbox link https://codesandbox.io/s/quiet-water-yx1l3g?file=/src/styles.css:336-358[![enter image description here]1]1