<div class="panel-container">
<small>
Don't miss out the latest
</small>
<h3>
Weekly FREE UI resources <br />
straight to your inbox
</h3>
<input type="email" placeholder="Email address" />
<button>Stay inspired</button>
<small>
Commitment issues? <br />
Unsubscribe at any time.
</small>
</div>
<footer>
<p>
Created with <i class="fa fa-heart"></i> by
<a target="_blank" href="https://florin-pop.com">Florin Pop</a>
</p>
</footer>
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
:root {
--pink1: #EF73CB;
--pink2: #DC5F89;
}
* {
box-sizing: border-box;
}
body, html {
margin: 0;
}
body {
align-items: center;
background-color: #FEF8FC;
color: #fff;
display: flex;
flex-direction: column;
font-family: 'Roboto', sans-serif;
justify-content: center;
height: 100vh;
text-align: center;
}
.panel-container {
background-image: linear-gradient(to bottom right, var(--pink1), var(--pink2));
border-radius: 15px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
padding: 30px;
margin: 15px;
}
.panel-container h3 {
margin-bottom: 30px;
letter-spacing: 0.5px;
}
.panel-container input, .panel-container button {
border: none;
border-radius: 3px;
display: block;
font-size: 12px;
padding: 7px 10px;
margin: 15px 0;
width: 100%;
}
.panel-container button {
background-image: linear-gradient(to bottom right, var(--pink1), var(--pink2));
border: 1px solid rgba(255, 255, 255, 0.3);
color: #fff;
}
.panel-container small {
font-size: 0.75em;
line-height: 10px;
opacity: 0.5;
}
.panel-container small:first-of-type {
text-transform: uppercase;
}
footer {
background-color: #222;
color: #fff;
bottom: 0;
position: fixed;
left: 0;
right: 0;
letter-spacing: 1px;
text-align: center;
}
footer p {
font-size: 1em;
margin: 5px 0;
}
footer i {
color: red;
}
footer a {
color: #3C97BF;
text-decoration: none;
}
This Pen doesn't use any external JavaScript resources.