差分

ナビゲーションに移動 検索に移動
実験的にツールチップ用の設定を追加
32行目: 32行目:  
  border-width:0 0 10px 0;
 
  border-width:0 0 10px 0;
 
  text-align:left;
 
  text-align:left;
 +
}
 +
 +
 +
/* ツールチップ用の設定 */
 +
span.tooltip{
 +
position:relative;
 +
z-index:2;
 +
color:#000;
 +
border:dotted #aaaaaa;
 +
border-width:0 0 4px 0;
 +
}
 +
 +
span.tooltip:hover{
 +
z-index:5;
 +
background-color:#ff0;
 +
}
 +
 +
span.tooltip span{
 +
display: none;
 +
}
 +
 +
span.tooltip:hover span{
 +
display:block;
 +
position:absolute;
 +
top:2em; left:2em; width:15em;
 +
border:1px solid #aaa;
 +
background-color:#eee; color:#000;
 +
text-align: center;
 
}
 
}
2,185

回編集

案内メニュー