Created
June 16, 2014 21:38
-
-
Save bbbrrriiiaaannn/c1dd7de8dab6767b9cbc to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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 placeholder="placeheld" /> |
This file contains hidden or 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.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
input | |
background-color: #ebebeb | |
&::-webkit-input-placeholder, &::-moz-placeholder, &:-ms-input-placeholder | |
color: black | |
text-transform: uppercase | |
font-weight: bold | |
transition: opacity .2s ease | |
&:focus | |
&::-webkit-input-placeholder, &::-moz-placeholder, &:-ms-input-placeholder | |
opacity: 0 |
This file contains hidden or 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 { | |
background-color: #ebebeb; | |
} | |
input::-webkit-input-placeholder, input::-moz-placeholder, input:-ms-input-placeholder { | |
color: black; | |
text-transform: uppercase; | |
font-weight: bold; | |
transition: opacity 0.2s ease; | |
} | |
input:focus::-webkit-input-placeholder, input:focus::-moz-placeholder, input:focus:-ms-input-placeholder { | |
opacity: 0; | |
} |
This file contains hidden or 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 placeholder="placeheld" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment