Just making my hire section
by Alin Guta
HTML
<div class="form">
<hr/>
<form id="myForm" method="post" action="contact.php">
<h1>1. I can do pretty much anything…so, what do you have in mind?</h1>
<input type="text" value="Example: website and branding" id="last" name="last" class="fields" onFocus="if(this.value == 'Example: website and branding') {this.value = '';}" onBlur="if (this.value == '') {this.value = 'Example: website and branding';}" />
<center><button class="button">Next</button></center>
</form>
</div>
CSS
h1{
font: 15px 'Calibri';
color: #066666;
}
.form {
float: left;
margin: 20px 0px 0px 0px;
padding-bottom: inherit;
}
hr {
clear: both;
border-bottom: 0;
border-top: 0;
border-right: 0;
border-left: 0;
min-height: 0px;
height: 1px;
}
.form .fields {
font: 13px 'Calibri';
color: #066666;
background-color: transparent;
border-width: 0px;
border: 1px solid #666666;
padding: 0px 0px 3px 0px;
margin: 0px 0px 3px 0px;
width: 500px;
resize: none;
overflow: auto;
}
.form .button {
position: relative;
display: inline-block;
padding: 0 40px;
outline: none;
border: none;
background: #066666;
color: #fff;
font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
letter-spacing: 3px;
line-height: 4;
text-transform:uppercase;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
transition: all 0.4s ease;
opacity:0.7;
}
.form .button:hover {
padding: 0 100px;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
transition: all 0.4s ease;
opacity:1;
}