8,960
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.underline-hover { | |||
position: relative; | |||
text-decoration: none; | |||
transition: text-decoration 0.3s ease-in-out; | |||
} | |||
.underline-hover { | .underline-hover { | ||
position: relative; | position: relative; | ||
| Line 21: | Line 26: | ||
/* Positioning */ | /* Positioning */ | ||
position: absolute; | position: absolute; | ||
z-index: | z-index: 9999; /* Ensure it's on top of all objects */ | ||
top: 100%; /* Position below the text */ | |||
left: 50%; | left: 50%; | ||
margin-left: -60px; /* Center the tooltip */ | margin-left: -60px; /* Center the tooltip */ | ||