Skip to content

Commit

Permalink
Clear placeholder on focus
Browse files Browse the repository at this point in the history
Because it could be disturbing for people who are not confident with forms not being able to delete words before writing.
  • Loading branch information
MickGe committed Nov 8, 2021
1 parent 19e0ea5 commit ebf6af2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/public/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ input[type="text"], input[type="email"], select {
border-color: #0055d4;
}

input:focus::placeholder {
color: transparent;
}

.center {
text-align: center;
}
Expand Down

0 comments on commit ebf6af2

Please sign in to comment.