Plain JavaScript tooltip
Solution with no JavaScript This uses CSS pseudo hover to set the display of the hidden element. The display none needs to be in the style and not on the element so it can be overwritten in the hover. .couponcode:hover .coupontooltip { /* NEW */ display: block; } .coupontooltip { display: none; /* NEW */ … Read more