Last active
April 20, 2020 19:30
-
-
Save themightymo/7386993e268891e007cc122ef6137933 to your computer and use it in GitHub Desktop.
Style Gravity Forms with Labels in the Fields
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
/* | |
* BEGIN style Gravity Forms placeholder text | |
*/ | |
.gform_wrapper .gfield_radio li label { | |
max-width: 100%; | |
} | |
.gfield input::-webkit-input-placeholder, | |
.gfield textarea::-webkit-input-placeholder, | |
.gfield select::-webkit-input-placeholder { | |
/* Chrome/Opera/Safari */ | |
color: #cccccc; | |
} | |
.gfield input::-moz-placeholder { | |
/* Firefox 19+ */ | |
color: #cccccc; | |
} | |
.gfield input:-ms-input-placeholder { | |
/* IE 10+ */ | |
color: #cccccc; | |
} | |
.gfield input:-moz-placeholder { | |
/* Firefox 18- */ | |
color: #cccccc; | |
} | |
/* | |
* END style Gravity Forms placeholder text | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment