46 lines
900 B
CSS
46 lines
900 B
CSS
@keyframes pop {
|
|
0% {
|
|
scale: 0;
|
|
}
|
|
60% {
|
|
scale: 1.2;
|
|
}
|
|
100% {
|
|
scale: 1;
|
|
}
|
|
}
|
|
|
|
.Textbox {
|
|
background-color: #17171f;
|
|
border-radius: 10px;
|
|
font-family: 'Manrope';
|
|
color: white;
|
|
padding: 20px;
|
|
border: none;
|
|
scale: 1;
|
|
font-size: 12pt;
|
|
animation-name: pop;
|
|
animation-duration: 1s;
|
|
animation-fill-mode: forwards;
|
|
animation-delay: 1s;
|
|
animation-timing-function: ease;
|
|
scale: 0;
|
|
-webkit-box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.15);
|
|
box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.15);
|
|
min-width: 50vw;
|
|
}
|
|
.Textbox::placeholder {
|
|
color: #8b8ba8;
|
|
font-family: 'Manrope';
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.Textbox {
|
|
min-width: 80vw;
|
|
transition: .2s min-width ease;
|
|
text-align: center;
|
|
}
|
|
.Textbox::placeholder {
|
|
text-align: center;
|
|
}
|
|
} |