<div class="container">
<div class="card">
<h1>Kontify.me</h1>
<h2>Coming soon...</h2>
<p>Don't miss our launch, get notified when we're ready!</p>
<p><small>We don't share your email with any third party companies, promise!</small></p>
<form action="#" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" novalidate>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Your email" required>
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="" tabindex="-1" value=""></div>
<div class="clear"></div>
<button name="subscribe" id="mc-embedded-subscribe" class="button" type="submit">Subscribe me</button>
</form>
</div>
</div>
html {
background-image: linear-gradient(-45deg, #FFC796 0%, #FF6B95 100%);
width: 100%;
height: 100%;
font-family: 'Lato', sans-serif;
}
.container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100vh;
}
.card {
display: block;
position: relative;
width: 480px;
max-width: 90%;
min-height: 12em;
background: #1B1F3B;
color: #ffffff;
padding: 1em 2em 2em;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
text-align: center;
}
.card h1 { font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 3rem; }
.card form {
display: flex;
flex-flow: column wrap;
align-items: center;
}
.card form input {
display: flex;
width: 80%;
}
.card form input.email {
border: 0px;
margin-bottom: 1em;
padding: .3em 1em;
text-align: center;
font-family: monospace;
font-size: 24px;
line-height: 30px;
outline: none !important;
border-radius: 5px;
background-color: #F1FFFA;
}
.card form button {
border: 0px transparent;
padding: 1em 1.2em;
border-radius: 5px;
background-color: #EE6055;
color: #1B1F3B;
font-family: 'Source Sans Pro', sans-serif;
font-size: 18px;
letter-spacing: 0;
font-weight: 700;
text-transform: uppercase;
transition: .4s all ease-in-out;
cursor: pointer;
}
.card form button:hover { background-color: #F17C73; }
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.