.group11 {
position: relative;
}
.input11 {
font-size: 16px;
padding: 10px 10px 10px 5px;
display: block;
width: 200px;
border: none;
border-bottom: 1px solid #515151;
background: transparent;
}
.input11:focus {
outline: none;
}
.group11 label {
color: #999;
font-size: 18px;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 5px;
top: 10px;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}
.input11:focus ~ label, .input11:valid ~ label {
top: -20px;
font-size: 14px;
color: #5264AE;
}
.bar11 {
position: relative;
display: block;
width: 200px;
}
.bar11:before, .bar11:after {
content: '';
height: 2px;
width: 0;
bottom: 1px;
position: absolute;
background: #5264AE;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}
.bar11:before {
left: 50%;
}
.bar11:after {
right: 50%;
}
.input11:focus ~ .bar11:before, .input11:focus ~ .bar11:after {
width: 50%;
}
.highlight11 {
position: absolute;
height: 60%;
width: 100px;
top: 25%;
left: 0;
pointer-events: none;
opacity: 0.5;
}
.input11:focus ~ .highlight11 {
animation: inputHighlighter 0.3s ease;
}
@keyframes inputHighlighter {
from {
background: #5264AE;
}
to {
width: 0;
background: transparent;
}
}