User:Saag/common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
width: auto; | width: auto; | ||
} | } | ||
.popover-wrapper:hover + .popover-content { | .popover-wrapper:hover + .popover-content { | ||
z-index: 10; | z-index: 10; | ||
Line 25: | Line 17: | ||
visibility: visible; | visibility: visible; | ||
transform: translate(0, -20px); | transform: translate(0, -20px); | ||
transition: all 0.4s | transition: all 0.4s cubic-bezier(0.75, -0.02, 0.2, 0.97); | ||
} | } |
Revision as of 19:54, 6 September 2024
.popover-wrapper {
position: relative;
display: inline-block;
}
.popover-content {
opacity: 0;
visibility: hidden;
position: absolute;
left: 300px;
transform: translate(0, 10px);
width: auto;
}
.popover-wrapper:hover + .popover-content {
z-index: 10;
opacity: 1;
visibility: visible;
transform: translate(0, -20px);
transition: all 0.4s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}