Jump to content

User:Bodq/standard.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* start tooltip code  */

div.info {
  position:relative; /*required */
  z-index:24; /*required */
  background-color:yellow; /*use any color you like */
  cursor:help /*optional, or use another cursor */
}

div.info:hover {
  z-index:25; /*required */
  background-color:pink /*use any color you like */
}

div.info:hover div.urlexpansion {
  display:block; /*required */
  position:absolute; /*required */
  /*border and size specifications, change as you like */
  top:2em;
  left:2em;
  width:15em;
  /* colors, change as you like */
  border:1px solid #0cf;
  background-color:#cff;
  color:#000;
}

/* end tooltip code  */