Button by ozgeozkaraa01
#212121
1button { 2 border: none; 3 border-radius: 1rem; 4 transition: all 0.5s linear; 5 padding: 1.2em; 6 background-color: #ACB1D6; 7} 8 9.tooltip { 10 position: relative; 11 display: inline-block; 12} 13 14.tooltip .tooltiptext { 15 visibility: hidden; 16 background-color: #AAAAAA; 17 color: white; 18 border-radius: 10px; 19 padding: 5px; 20 position: absolute; 21 z-index: 1; 22 left: 62px; 23 width: 60px; 24} 25 26.tooltip:hover .tooltiptext { 27 visibility: visible; 28}
785 views
785 views
MIT License