Last active
September 20, 2016 09:04
-
-
Save owngeek/3869a55d708e8f3335d7c3473c97ec13 to your computer and use it in GitHub Desktop.
Placeholder Styling
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
<style> | |
body{background: #087585;} | |
.plcehldr input {width: 200px;border: none;background: #f8f8f8;height: 33px; color: blue;position: absolute;top: 0;left: 0;margin: auto;right: 0; bottom: 0; | |
border-radius: 2px; padding-left: 6px; } | |
.plcehldr img{width: 18px;position: absolute; right: 0;top: 8px; cursor:pointer;} | |
.plcehldr input::-webkit-input-placeholder { /* Chrome/Opera/Safari */ | |
color: #087585 ; | |
} | |
.plcehldr input::-webkit-input-placeholder { /* Firefox 19+ */ | |
color: #087585 ; | |
} | |
.plcehldr input ::-webkit-input-placeholder { /* IE 10+ */ | |
color: #087585 ; | |
} | |
.plcehldr input ::-webkit-input-placeholder { /* Firefox 18- */ | |
color: #087585 ; | |
} | |
</style> |
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
<div class="plcehldr"> | |
<input type="text" name="Search" placeholder="search" > | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment