Took 16 minutes
This commit is contained in:
2023-02-06 13:42:34 +01:00
parent 97e2a2d0da
commit 1a24b68b02
5 changed files with 38 additions and 6 deletions

View File

@ -169,6 +169,7 @@ h2 {
color: white;
transition: all 0.4s;
margin-left: 0;
}
@ -276,4 +277,30 @@ h2 {
.hide {
visibility: hidden;
transition: visibility 0.8s;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 100px;
background-color: #214B74;
color: #fff;
text-align: center;
border-radius: 8px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
bottom: 45%;
left: 50%;
margin-left: -60px;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}