43 lines
683 B
CSS
43 lines
683 B
CSS
body {
|
|
background: rgb(245, 245, 245);
|
|
}
|
|
|
|
input {
|
|
height: 4%;
|
|
position: absolute;
|
|
top: 44%;
|
|
}
|
|
|
|
input[type=text] {
|
|
-webkit-transition: width 0.4s ease-in-out;
|
|
transition: width 0.4s ease-in-out;
|
|
width: 20%;
|
|
padding: 12px 20px;
|
|
margin: 8px 0;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input1 {
|
|
top: 50%;
|
|
}
|
|
|
|
input[type=text]:focus {
|
|
width: 95%;
|
|
}
|
|
|
|
input[type=submit] {
|
|
top: 56%;
|
|
width: 20%;
|
|
background-color: rgb(66, 183, 238);
|
|
border-radius: 4px;
|
|
color: white;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
background-color: rgb(59, 164, 212);
|
|
}
|