JSFiddle - React, Tailwind, and code Playground
by Milan Gladiš
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Zuzana Stellmachova</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=Inter:wght@500;600&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<style>
* {
box-sizing: border-box;
}
html, body {
padding: 0;
margin: 0;
height: 100%;
}
html {
font-size: 10px;
font-family: 'Inter', sans-serif;
}
body {
font-size: 1.8rem;
text-align: center;
font-weight: 400;
padding: 1.6rem;
color: rgba(0,0,0,0.8);
background-color: #151617;
color: #fff;
}
h1 {
font-size: 2.4rem;
font-weight: 600;
margin: 0;
}
h2 {
font-weight: inherit;
font-weight: 500;
font-size: 15px;
margin-top: 4px;
}
.wrapper {
width: 100%;
height: 100%;
background: linear-gradient(81.82deg, #FB6F43 0%, #FC7B7B 100%);
text-align: left;
display: flex;
justify-content: center;
border-radius: 0.8rem;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
}
svg {
opacity: .25;
margin-bottom: 1.6rem;
}
.emailBox {
border: 2px solid rgba(255,255,255,0.4);
padding: 1.6rem;
border-radius: .8rem;
margin: .8rem -1.6rem 0;
}
.emailTooltip, .emailDescription {
font-size: 1.2rem;
opacity: .6;
margin-bottom: .4rem;
}
.emailDescription {
margin-top: .8rem;
}
.email {
font-size: 1.6rem;
}
</style>
</head>
<body>
<div class="wrapper" id="gradient">
...