Created
November 12, 2015 19:01
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> | |
#searchbox { | |
width: 280px; | |
background: url(http://1.bp.blogspot.com/-dwLNyhnHlTg/VEQZwf9drLI/AAAAAAAAAlg/rbd0HN4EZrY/s1600/search-box.png) no-repeat; | |
} | |
#searchbox input { | |
outline: none; | |
} | |
input:focus::-webkit-input-placeholder { | |
color: transparent; | |
} | |
input:focus:-moz-placeholder { | |
color: transparent; | |
} | |
input:focus::-moz-placeholder { | |
color: transparent; | |
} | |
#searchbox input[type="text"] { | |
background: transparent; | |
border: 0px; | |
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif; | |
font-size: 14px; | |
color: #f2f2f2 !important; | |
padding: 10px 35px 10px 20px; | |
width: 220px; | |
} | |
#searchbox input[type="text"]:focus { | |
color: #fff; | |
} | |
#button-submit{ | |
background: url(http://4.bp.blogspot.com/-4MYBYE0i0Xk/VEQYlljvriI/AAAAAAAAAlQ/_TRkRG5EX1c/s1600/search-icon.png) no-repeat; | |
margin-left: -40px; | |
border-width: 0px; | |
width: 40px; | |
height: 50px; | |
} | |
#button-submit:hover { | |
background: url(http://4.bp.blogspot.com/-6S4K8eHPM-c/VEQdf7l84GI/AAAAAAAAAls/j7_kGSpkIfg/s1600/search-icon-hover.png); | |
} | |
</style> | |
<form id="searchbox" method="get" action="/search" autocomplete="off"> | |
<input name="q" type="text" size="15" placeholder="Enter keywords here..." /> | |
<input id="button-submit" type="submit" value=" "/> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment