Thu May 26 2022
Gradient Underline
CSS2399 views
File Name: Gradent-underline.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gradient Underline</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
}
body { background-color: #383838; }
section {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
color: #fff;
font-size: 80px;
font-family: 'Comfortaa', cursive;
font-weight: bold;
background: linear-gradient(30deg, #fa009a, #3afa00, #6600ec);
background-repeat: no-repeat;
background-size: 100% 4px;
background-position: bottom;
}
</style>
</head>
<body>
<section>
<h1>Geekboots</h1>
</section>
</body>
</html>
Result Screenshot(s)
Author:Geekboots