User:Blackwolfe/common.css: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 28: Line 28:
   margin-top: 0em;
   margin-top: 0em;
   margin-left: 0px;
   margin-left: 0px;
  overflow: hidden;
  padding: 5px;
}
}

Revision as of 10:02, 25 July 2021

.tooltip {
  display: inline-block;
  text-decoration:none;
  position:relative;
}
 
.tooltip span {
  display:none;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  margin:0px;
  color:black;
  background:white; 
  float:left;
}
 
.tooltip:hover span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: auto;
  min-height: 12px;
  border:1px solid black;
  margin-top: 0em;
  margin-left: 0px;
}