Created
April 17, 2017 09:15
-
-
Save dimaslanjaka/b5cd15df103acf0fb4585d25f5a1ef6c to your computer and use it in GitHub Desktop.
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
<form class="searchform"> | |
<input type="text" name="s"> | |
<input type="submit" value="Search" title="Search Button"> | |
</form> | |
<style> | |
.searchform{ | |
position:relative | |
} | |
.searchform input[type="text"]{ | |
background: #EBEBEB; | |
height: auto; | |
-webkit-border-radius: 0; | |
-moz-border-radius: 0; | |
border-radius: 0; | |
margin-bottom: 0; | |
padding: 7px; | |
border: none; | |
float: left; | |
color: #5F5F5F; | |
width: 100%; | |
height: 34px; | |
float: none; | |
padding-right: 70px; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
input[type="submit"]{ | |
background: #6B6B6B; | |
border: none; | |
padding: 7px; | |
color: #fff; | |
height: 34px; | |
position: absolute; | |
bottom: 0; | |
right: 0; | |
margin:0 | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment