<body>
<div class="form-wrapper">
<form action="" class="notify-form" id="notify-form">
<div class="field">
<input type="email" name="email" placeholder="Your Email Please..." autofocus="">
<div class="message">Notify me</div>
<div class="message message-end">Thank You</div>
<button class="btn-send" type="submit">Send</button>
</div>
</form>
</div>
<footer class="author-bar">
<div class="author">
<div class="my-pic">
</div>
<span>Oury</span>
</div>
<div class="fb-profile">
I am on LinkedIn <a href="https://www.linkedin.com/in/ourystd" target="_blank">@ourystd</a>
</div>
</footer>
</body>
$border-radius-value: 50px;
$primary-color: #FF8871;
*,
*::after,
*::before {
box-sizing: border-box;
}
body {
font-family: "Trebuchet MS", "apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
background-color: $primary-color;
display: flex;
justify-content: center;
align-items: center;
}
.form-wrapper {
width: 90%;
max-width: 400px;
border-radius: 8px;
display: flex;
justify-content: space-around;
align-items: center;
}
.notify-form {
.field {
position: relative;
input, .message{
width: 300px;
height: 70px;
border: none;
padding: 1.2em 2em;
background-color: #fff;
border-radius: $border-radius-value;
font-family: inherit;
font-size: 1.4em;
color: $primary-color;
transition: .5s cubic-bezier(.77,-0.59,.21,1.36);
}
input {
padding-right: 4.2em;
}
.message{
position: absolute;
z-index: 2;
top: 0;
font-weight: bold;
font-size: 1.7em;
padding-top: 18px;
text-align: center;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
transition: transform .8s ease-in-out, opacity .9s .2s ease-out, ;
&.message-end {
z-index: 1;
opacity: 0;
}
&.message-end.active {
z-index: 3;
opacity: 1;
}
}
.btn-send{
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%) scale(0);
opacity: 0;
font-weight: 400;
text-align: center;
user-select: none;
padding: 0.375rem 0.75rem;
background-color: rgba($primary-color, .7);
border-radius: $border-radius-value;
color: rgba(#fff, .5);
font-size: 1.6em;
line-height: 1.6;
outline: 0;
border: 0;
cursor: pointer;
transition: .5s cubic-bezier(.77,-0.59,.21,1.36);
&:hover, &:focus {
box-shadow: 0 0 10px 1px rgba(#000, .12);
}
&:not(.active) {
pointer-events: none;
}
&.active {
color: #fff;
background-color: $primary-color;
}
}
}
&.active {
.field {
.btn-send {
transform: translateY(-50%) scale(1);
opacity: 1;
}
input{
width: 400px;
&:focus {
box-shadow: 1px 1px 15px 1px rgba(#000, .6);
border: none;
outline: none;
}
}
.message {
transform: translateY(-400%);
opacity: 0;
}
}
}
}
.author-bar {
position: fixed;
bottom: 0;
min-height: 70px;
width: 100vw;
padding: 10px;
display: flex;
justify-content: center;
align-items: center;
background-color: #000;
background: linear-gradient(-120deg, skyblue 30%, darkviolet 90%);
color: #fff;
a {
color: #000;
}
>div {
margin: 0 15px;
}
.author {
display: flex;
justify-content: center;
align-items: center;
.my-pic {
width: 50px;
height: 50px;
margin-right: 10px;
border-radius: 50%;
border: 1px solid #fff;
background: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/7QCcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAIAcAmcAFFpVbXRLVjRtZU9aT1h3Y0V1Q3JMHAIoAGJGQk1EMDEwMDBhYzIwMzAwMDAxNjA3MDAwMDFhMGIwMDAwYjMwYzAwMDBiNDBkMDAwMDhhMGYwMDAwNGMxMzAwMDAzMTE0MDAwMDgwMTUwMDAwOWYxNjAwMDA5ODFjMDAwMP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfcAAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8AAAAXmNwcnQAAAFcAAAAC3d0cHQAAAFoAAAAFGJrcHQAAAF8AAAAFHJYWVoAAAGQAAAAFGdYWVoAAAGk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Abg1ezEAgXDqsywBiCwb3DYJHaBbqYUiZJwBFozZSyjiIFe4wmeOsykB7+VqZP1HUPB5gofG6KMZlBSvc7AHowZ4McIHB1LVZWblOTEvYJkRmIni2TcCooMS0i4PxKb7JZXhH8Ra3KCYJHAwzMjpcQAjqpd5Ec7mRicbjKj0amRgeIhJoRyc5JaFc4CHwEFsDAErjs5ixKX8iI7FQAaMC7+A3FK3cSrFxCILnqg0Sm8ui1h8ArwvMW+oijeG7l3mUPZKMAy4vFlqYAEmc6mWmJU5gWEsbwTJ3WIDMcfPJsZiHKRcpLtk9PSgVHcJjGSNlpCg4l0Rg4ejmbio7iWXTEuPFRUNxDLfZhhdMMl6fhHUGhu0srhsF3Ir+FqK1uBYdMozievwxF3CqCyUMEs15l4VszNMpLJcR8VTMFu4wpiISYHFQC+JhhgYsdi0Nbt8HUVsZiagKHRLYdqnAlgIEeVRU47ISWUCUGDwgihhh8KBbllkQCPMTKvkvUBMC8MAS+UopAkEWdvzbvhFd3n47RNZsfBy9zSaP6RTdjfhp8SQUDQs/to3lIFQGHE//Z') center no-repeat;
background-size: cover;
}
}
}
View Compiled
$('#notify-form').submit(function (event) {
event.preventDefault();
$('.notify-form').removeClass('active')
$('.message-end').addClass('active')
setTimeout( function (event) {
$('.message-end').removeClass('active')
$('.btn-send').removeClass('active')
$('.field input').val("")
}, 2000)
})
$('.message:not(.message-end)').click(function (event) {
$('.notify-form').addClass('active')
$('.field input').focus()
})
$('.field input').keyup(function(event) {
if (/^[a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,6}$/.test(event.target.value)) {
$('.btn-send').addClass('active')
}
else {
$('.btn-send').removeClass('active')
}
})
This Pen doesn't use any external CSS resources.