<form method="post">
<input type="text" class="textbox" placeholder="Search">
<input title="Search" value="" type="submit" class="button">
</form>
body {
background: url('http://i.hizliresim.com/v4Qykv.png') no-repeat center center fixed;
background-size: cover;
background-size: cover;
background-size: cover;
background-size: cover;
font-family: 'Roboto', Tahoma, Arial, sans-serif;
line-height: 1.5;
font-size: 13px;
}
form {
outline: 0;
float: left;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 4px;
border-radius: 4px;
}
form > .textbox {
outline: 0;
height: 42px;
width: 244px;
line-height: 42px;
padding: 0 16px;
background-color: rgba(255, 255, 255, 0.8);
color: #212121;
border: 0;
float: left;
border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
form > .textbox:focus {
outline: 0;
background-color: #FFF;
}
form > .button {
outline: 0;
background: none;
background-color: rgba(38, 50, 56, 0.8);
float: left;
height: 42px;
width: 42px;
text-align: center;
line-height: 42px;
border: 0;
color: #FFF;
font: normal normal normal 14px/1 FontAwesome;
font-size: 16px;
text-rendering: auto;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
transition: background-color .4s ease;
transition: background-color .4s ease;
border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
form > .button:hover {
background-color: rgba(0, 150, 136, 0.8);
}
This Pen doesn't use any external JavaScript resources.