aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-22 20:50:35 -0800
committerJacob Thornton <[email protected]>2012-01-22 20:50:35 -0800
commit1209a3756c88043008950f74dd287b837e00f7d8 (patch)
tree82a4b9638725c87351b298aa380b2f057fbb3d2d /lib/forms.less
parent2355ea034b2d2c46dde5faf01fd53aa324d13cae (diff)
downloadbootstrap-1209a3756c88043008950f74dd287b837e00f7d8.tar.xz
bootstrap-1209a3756c88043008950f74dd287b837e00f7d8.zip
:focus:required:invalid: http://www.alistapart.com/articles/forward-thinking-form-validation
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/forms.less b/lib/forms.less
index e728b9d72..bdc6e3e07 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -302,9 +302,9 @@ textarea[readonly] {
// HTML5 invalid states
// Shares styles with the .control-group.error above
-input:invalid,
-textarea:invalid,
-select:invalid {
+input:focus:required:invalid,
+textarea:focus:required:invalid,
+select:focus:required:invalid {
color: #b94a48;
border-color: #ee5f5b;
&:focus {