galaxy/Forms/guilhermeyohan_fresh-newt-22.html

82 lines
1.7 KiB
HTML

<div class="subscribe">
<p>SUBSCRIBE</p>
<input placeholder="Your e-mail" class="subscribe-input" name="email" type="email">
<br>
<div class="submit-btn">SUBMIT</div>
</div>
<style>
/* From Uiverse.io by guilhermeyohan - Tags: subscription, form */
.subscribe {
position: relative;
height: 140px;
width: 240px;
padding: 20px;
background-color: #FFF;
border-radius: 4px;
color: #333;
box-shadow: 0px 0px 60px 5px rgba(0, 0, 0, 0.4);
}
.subscribe:after {
position: absolute;
content: "";
right: -10px;
bottom: 18px;
width: 0;
height: 0;
border-left: 0px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #1a044e;
}
.subscribe p {
text-align: center;
font-size: 20px;
font-weight: bold;
letter-spacing: 4px;
line-height: 28px;
}
.subscribe input {
position: absolute;
bottom: 30px;
border: none;
border-bottom: 1px solid #d4d4d4;
padding: 10px;
width: 82%;
background: transparent;
transition: all .25s ease;
}
.subscribe input:focus {
outline: none;
border-bottom: 1px solid #0d095e;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', 'sans-serif';
}
.subscribe .submit-btn {
position: absolute;
border-radius: 30px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
background-color: #0f0092;
color: #FFF;
padding: 12px 25px;
display: inline-block;
font-size: 12px;
font-weight: bold;
letter-spacing: 5px;
right: -10px;
bottom: -20px;
cursor: pointer;
transition: all .25s ease;
box-shadow: -5px 6px 20px 0px rgba(26, 26, 26, 0.4);
}
.subscribe .submit-btn:hover {
background-color: #07013d;
box-shadow: -5px 6px 20px 0px rgba(88, 88, 88, 0.569);
}
</style>