Difference between revisions of "Template:Infobox blockalt"
From StarMade Wiki
m |
|||
Line 1: | Line 1: | ||
− | + | .tooltipblock { | |
− | + | position: relative; | |
− | + | display: inline-block; | |
− | + | border-bottom: 1px dotted black; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .tooltipblock .info { | |
− | + | visibility: hidden; | |
− | + | text-align: center; | |
− | + | border-radius: 6px; | |
− | + | padding: 5px 0; | |
− | + | position: absolute; | |
− | + | z-index: 1; | |
− | + | bottom: 100%; | |
− | + | left: 50%; | |
− | + | margin-left: -60px; | |
− | + | opacity: 0; | |
− | + | transition: opacity 0.5s; | |
− | + | } | |
− | + | ||
− | + | .tooltipblock .info { | |
− | + | visibility: visible; | |
− | + | opacity: 1; | |
− | + | } | |
− | |||
− | |||
− |
Revision as of 19:38, 14 May 2018
.tooltipblock {
position: relative; display: inline-block; border-bottom: 1px dotted black;
}
.tooltipblock .info {
visibility: hidden; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.5s;
}
.tooltipblock .info {
visibility: visible; opacity: 1;
}