diff options
| author | Mark Otto <[email protected]> | 2012-01-07 04:28:30 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-07 04:28:30 -0800 |
| commit | 7728f7b8241dc43292c3f897fdfe08a13f58e40b (patch) | |
| tree | 523cec3561fb426de1f9df6fd592ceaa841fb6c9 /bootstrap.css | |
| parent | b6d50c892d6ae8ed42ff0bfbba4252c7dc47417e (diff) | |
| download | bootstrap-7728f7b8241dc43292c3f897fdfe08a13f58e40b.tar.xz bootstrap-7728f7b8241dc43292c3f897fdfe08a13f58e40b.zip | |
add html5 invalid state for super fancy errors via browser
Diffstat (limited to 'bootstrap.css')
| -rw-r--r-- | bootstrap.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bootstrap.css b/bootstrap.css index 54c1b0651..8b943e2d3 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: Sat Jan 7 04:20:37 PST 2012 + * Date: Sat Jan 7 04:26:09 PST 2012 */ html, body { margin: 0; @@ -824,6 +824,16 @@ textarea[readonly] { background-color: #bcddbc; border-color: #468847; } +input:invalid, textarea:invalid, select:invalid { + color: #b94a48; + border-color: #ee5f5b; +} +input:invalid:focus, textarea:invalid:focus, select:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} .form-actions { padding: 17px 20px 18px; margin-top: 18px; |
