Improve button design
The red felt like something was wrong. The animations are snappier now.
This commit is contained in:
parent
01eb5c86bb
commit
182f43545f
1 changed files with 3 additions and 3 deletions
|
@ -140,8 +140,8 @@ button {
|
||||||
border: 1px solid hsl(0, 0%, 10%);
|
border: 1px solid hsl(0, 0%, 10%);
|
||||||
color: #afafaf;
|
color: #afafaf;
|
||||||
background: hsl(0, 0%, 14%);
|
background: hsl(0, 0%, 14%);
|
||||||
transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
|
transition: background-color 0.1s cubic-bezier(.22,.61,.36,1),
|
||||||
transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
|
transform 0.2s cubic-bezier(.22,.61,.36,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
|
@ -158,7 +158,7 @@ select:focus,
|
||||||
input:focus,
|
input:focus,
|
||||||
textarea:focus,
|
textarea:focus,
|
||||||
button:focus {
|
button:focus {
|
||||||
background: hsl(0, 7%, 20%);
|
background: hsl(0, 0%, 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
select:focus,
|
select:focus,
|
||||||
|
|
Loading…
Reference in a new issue