better validation of input

This commit is contained in:
or-else
2018-03-20 17:38:48 -07:00
parent 9283c4ede2
commit 1e69fabe2c
2 changed files with 34 additions and 34 deletions
+3
View File
@@ -178,6 +178,7 @@ textarea {
resize: none;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
height: 2.5rem;
@@ -188,12 +189,14 @@ textarea {
}
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
border-bottom: 1px solid #2196f3;
box-shadow: 0 1px 0 rgba(33, 150, 243, 0.25);
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
color: #bbb;