Template:InfoBox/Style.css
From 2009.igem.org
(Difference between revisions)
m |
m |
||
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
.infoIcon { display: inline; } | .infoIcon { display: inline; } | ||
.infoIcon[info=noinfo] { display: none; } | .infoIcon[info=noinfo] { display: none; } | ||
- | .infoIcon .infoBox { display: none; color: #000; background: #efe; border: #000 solid 1px | + | .infoIcon .infoBox { display: none; color: #000; background: #efe; border: #000 solid 1px; padding: .5em; position: absolute; left: 0%; top: 75%; z-index: 1; text-align: left; } |
.infoIcon:hover .infoBox { display: block; } | .infoIcon:hover .infoBox { display: block; } | ||
.infoIcon .infoBox:hover { display: block; } | .infoIcon .infoBox:hover { display: block; } |
Latest revision as of 11:14, 15 October 2009
.infoIcon { display: inline; } .infoIcon[info=noinfo] { display: none; } .infoIcon .infoBox { display: none; color: #000; background: #efe; border: #000 solid 1px; padding: .5em; position: absolute; left: 0%; top: 75%; z-index: 1; text-align: left; } .infoIcon:hover .infoBox { display: block; } .infoIcon .infoBox:hover { display: block; }