Created
July 22, 2014 09:33
-
-
Save geibi/de558fa1ec14efbcaf44 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input> | |
<input class="formerror"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
input, | |
textarea { | |
&:focus{ | |
outline: 3px solid #F9B123; | |
padding: .05em .75em .95em .75em; //2px 6px 2px 6px; | |
padding-top: .05em; | |
} | |
&.formerror:focus { | |
outline: 3px solid red; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input:focus, | |
textarea:focus { | |
outline: 3px solid #F9B123; | |
padding: .05em .75em .95em .75em; | |
padding-top: .05em; | |
} | |
input.formerror:focus, | |
textarea.formerror:focus { | |
outline: 3px solid red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input> | |
<input class="formerror"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment