User:Saag/common.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
No edit summary
Saag (talk | contribs)
No edit summary
Line 7: Line 7:
.hover-to-show:hover + .hide {
.hover-to-show:hover + .hide {
display: block;
display: block;
     position: relative;  
     position: fixed;  
z-index: 2;
z-index: 2;
     cursor: pointer;
     cursor: pointer;

Revision as of 18:31, 6 September 2024

.hide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hover-to-show:hover + .hide {
	display: block;
    position: fixed; 
	z-index: 2;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}