diff options
| author | Jacob Thornton <[email protected]> | 2012-01-22 20:50:35 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-22 20:50:35 -0800 |
| commit | 1209a3756c88043008950f74dd287b837e00f7d8 (patch) | |
| tree | 82a4b9638725c87351b298aa380b2f057fbb3d2d /bootstrap.css | |
| parent | 2355ea034b2d2c46dde5faf01fd53aa324d13cae (diff) | |
| download | bootstrap-1209a3756c88043008950f74dd287b837e00f7d8.tar.xz bootstrap-1209a3756c88043008950f74dd287b837e00f7d8.zip | |
:focus:required:invalid: http://www.alistapart.com/articles/forward-thinking-form-validation
Diffstat (limited to 'bootstrap.css')
| -rw-r--r-- | bootstrap.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.css b/bootstrap.css index 732e0afc8..aa68f04b9 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -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; |
