I put this css on my site and when i hover over, the element moving in will flicker…like the css is resetting. Not sure how to stop this. Does anyone have any thoughts?
thanks
.dt1{
background-color: white;
margin: 10px;
position: absolute;
visibility: hidden;
top: 0px;
}
.d1:hover ~ .dt1 {
background: white;
color: #060606;
margin: 10px;
font-size: 28px;
font-weight: bold;
text-align: center;
border: 5px #060606 solid;
transition: transform 1s ease-in;
transform: translate3d(0px, 0px, 0px);
visibility: visible;
}
.d1:hover ~ .dt1 {
background: white;
color: #060606;
margin: 10px;
font-size: 28px;
font-weight: bold;
text-align: center;
border: 5px #060606 solid;
/*transition: transform 1s ease-in; */
transition: transform 1s ease-in;
transform: translate3d(0px, 0px, 0px);
/*visibility: visible;*/
}