5,478
edits
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
position: absolute; | position: absolute; | ||
left: 50%; | left: 50%; | ||
bottom: calc( | bottom: calc(10px + 100%); | ||
z-index: 1; | z-index: 1; | ||
min-width: 120px; | min-width: 120px; | ||
Line 30: | Line 30: | ||
.tooltip > .text:after { | .tooltip > .text:after { | ||
content: ''; | |||
position: absolute; | |||
left: 50%; | |||
border-style: solid; | |||
top: 100%; | |||
bottom: auto; | |||
width: 20px; | |||
height: 20px; | |||
background: #fff; | |||
margin-top: -10px; | |||
margin-left: -10px; | |||
box-shadow: 1px 1px 0px #a2a9b1; | |||
transform: rotate(45deg); | |||
border-width: 0; | |||
} | } |