Skip to content

Instantly share code, notes, and snippets.

@jsmanifest
Created June 23, 2019 22:25
Show Gist options
  • Select an option

  • Save jsmanifest/ad3cb8c768906c322fe4cfb25eef272f to your computer and use it in GitHub Desktop.

Select an option

Save jsmanifest/ad3cb8c768906c322fe4cfb25eef272f to your computer and use it in GitHub Desktop.
form {
display: flex;
align-items: center;
}
form > div {
margin: auto 3px;
}
input,
select {
transition: all 0.15s ease-out;
border: 1px solid #ddd;
padding: 10px 14px;
outline: none;
font-size: 14px;
color: #666;
}
input:hover,
select:hover {
border: 1px solid #c6279f;
}
select {
cursor: pointer;
padding-top: 9px;
padding-bottom: 9px;
}
button {
transition: all 0.15s ease-out;
background: #145269;
border: 1px solid #ddd;
padding: 10px 35px;
outline: none;
cursor: pointer;
color: #fff;
}
button:hover {
color: #145269;
background: #fff;
border: 1px solid #145269;
}
button:active {
background: rgb(27, 71, 110);
border: 1px solid #a1a1a1;
color: #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment