input: add autofocus and reset value after sending

This commit is contained in:
igoradamenko
2018-02-02 23:46:12 +02:00
parent 00a17ad15f
commit 5248041b00
3 changed files with 20 additions and 7 deletions
@@ -3,9 +3,9 @@
.input__button {
display: none;
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
top: 0;
right: 0;
bottom: 0;
box-sizing: border-box;
width: $buttonWidth;
padding: 0 10px;
@@ -19,4 +19,8 @@
&:hover {
background: #06c5c5;
}
&:focus {
outline: none;
}
}