Difference between revisions of "Template:Tooltip"

17 bytes added ,  16:53, 1 September 2020
no edit summary
(Added width settings)
Line 8: Line 8:
.tooltip .tooltiptext {
.tooltip .tooltiptext {
   visibility: hidden;
   visibility: hidden;
   width: auto;
   width: max-content;
   background-color: black;
   background-color: black;
   color: #fff;
   color: #fff;
Line 17: Line 17:
   z-index: 1;
   z-index: 1;
   bottom: 100%;
   bottom: 100%;
   left: 50%;
   left: 0;
  right: 0;
}
}


trusted
5,920

edits