mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
:focus:required:invalid: http://www.alistapart.com/articles/forward-thinking-form-validation
This commit is contained in:
Vendored
+3
-3
@@ -6,7 +6,7 @@
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||
* Date: Sun Jan 22 20:42:19 PST 2012
|
||||
* Date: Sun Jan 22 20:50:28 PST 2012
|
||||
*/
|
||||
html, body {
|
||||
margin: 0;
|
||||
@@ -812,11 +812,11 @@ textarea[readonly] {
|
||||
background-color: #bcddbc;
|
||||
border-color: #468847;
|
||||
}
|
||||
input:invalid, textarea:invalid, select:invalid {
|
||||
input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid {
|
||||
color: #b94a48;
|
||||
border-color: #ee5f5b;
|
||||
}
|
||||
input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
|
||||
input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, select:focus:required:invalid:focus {
|
||||
border-color: #e9322d;
|
||||
-webkit-box-shadow: 0 0 6px #f8b9b7;
|
||||
-moz-box-shadow: 0 0 6px #f8b9b7;
|
||||
|
||||
Reference in New Issue
Block a user