(새 문서: .tooltip { display: inline-block; color: #dd0000; font-weight: bold; } .tooltip-text { display: none; position: absolute; max-width: 200px; border: 1px solid; border-r...) |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
. | .a { | ||
display: inline-block; | display: inline-block; | ||
color: #dd0000; | color: #dd0000; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
. | .b { | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
15번째 줄: | 15번째 줄: | ||
background: #222; | background: #222; | ||
} | } | ||
. | .a:hover .b { | ||
display: block; | display: block; | ||
} | } |