<head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=ZCOOL+QingKe+HuangYou&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Yatra+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<section id="section-1">
<a href="#section-4" class="button">mehr ist</a>
</section>
<section id="section-2">
<a href="#section-3" class="button">mehr ist<span class="tooltiptext">mehr?</span></a>
</section>
<section id="section-3">
<a href="#section-1" class="button">mehr</a>
</section>
<section id="section-4">
<a href="#section-2" class="button">ist mehr</a>
</section>
<section id="section-5">
<a href="#section-1" class="button">ist mehr</a>
</section>
</body>
index.html
.button {
color: black;
position: relative;
text-decoration: none;
line-height: 280px;
display: inline-block;
font-size: 300px;
}
#section-1 .button{
width: 40%;
cursor: nw-resize;
}
#section-2 .button{
font-family: Eagle Lake;
cursor: help;
}
#section-3 .button{
font-family: Azeret Mono;
cursor: progress;
}
#section-4 .button{
font-family: Yatra One;
cursor: nesw-resize;
}
#section-5 .button{
font-family: ZCOOL QingKe HuangYou;
font-size: 340px;
cursor: alias;
}
.button:hover {
color:blue;
text-decoration: underline 18px;
}
#section-5 .button:hover {
transform: rotateZ(30deg);
transform: rotateX(70deg);
}
.button .tooltiptext {
font-family: times;
visibility: hidden;
width: 120px;
height: 60px;
border: 2px solid black;
background-color: #fff;
color: black;
text-align: center;
font-size:20px;
border-radius: 6px;
padding: 10px ;
width: 120px;
bottom: 80%;
left: 50%;
margin-left: -60px;
position: absolute;
z-index: 1;
}
.bottom .tooltiptext::after {
content: " ";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: black transparent transparent transparent;
}
.button:hover .tooltiptext {
visibility: visible;
}