<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title>Flat Contact Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- CSS -->
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Patua+One'>
<link rel='stylesheet' href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400'>
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/style.css">
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:100' rel='stylesheet' type='text/css'>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -class="subject"->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="page-container">
<form class='contact-us' action="" method="post">
<h1>Contact Us!</h1>
<hr />
<br />
<input type="text" name="name" class="name" placeholder="Name">
<input type="text" name="email" class="email" placeholder="Email">
<input type="text" name="subject" class="subject" placeholder="Subject">
<textarea name="message" class="message" placeholder="Message"></textarea>
<button type="submit">Send Message</button>
</form>
</div>
<!-- Javascript -->
<script src="assets/js/jquery-1.8.2.min.js"></script>
<script src="assets/js/jquery.backstretch.min.js"></script>
<script src="assets/js/scripts.js"></script>
</body>
</html>
/*
/*
*
* Template Name: Flat Contact Form
* Description: Flat Contact Form
* Author: Luckkeyy Singh
* Author URI: http://www.bloggingtronx.com
*
* Modified By: The-First-Tiger
*/
body {
background: #eee;
font-family: 'Roboto Slab', serif;
font-weight: 400;
text-align: left;
font-smoothing: antialiased;
}
::selection { background: #f8cc37; color: #4b2813; text-shadow: 0 2px 0 #fce653; }
::selection { background: #f8cc37; color: #4b2813; text-shadow: 0 2px 0 #fce653; }
.page-container {
margin: 0 auto;
padding: 60px 0 20px 0;
}
.contact-us {
position: relative;
width: 400px;
margin: 0 auto;
background: #fff;
}
hr {
color: #eee;
background-color: #eee;
height: 1px;
border: none;
}
.contact-us h1 {
height: 50px;
margin-bottom: 30px;
background: #fff;
font-family: 'Roboto Slab', serif;
font-size: 30px;
color: #bbb;
text-transform: uppercase;
line-height: 80px;
text-align: center;
}
.contact-us input {
width: 302px;
height: 38px;
margin: 0 0 20px 30px;
padding: 0 18px;
background: #fdfdfd;
border: 1px solid #eee;
font-family: 'Roboto Slab', serif;
font-size: 15px;
color: #000;
outline: none;
}
.contact-us input:placeholder { color: #000; }
.contact-us input:input-placeholder { color: #000; }
.contact-us input::input-placeholder { color: #000; }
.contact-us textarea {
width: 302px;
height: 92px;
margin: 0 0 20px 30px;
padding: 10px 18px 0 18px;
background: #fdfdfd;
border: 1px solid #eee;
font-family: 'Roboto Slab', serif;
font-size: 15px;
color: #000;
outline: none;
}
.contact-us textarea:placeholder { color: #000; }
.contact-us textarea:input-placeholder { color: #000; }
.contact-us textarea::input-placeholder { color: #000; }
.contact-us button {
width: 402px;
margin-left: -1px;
height: 70px;
margin-top: 14px;
padding: 0;
background: #fff;
border: 1px solid #eee;
cursor: pointer;
font-family: 'Roboto Slab', serif;
font-size: 24px;
color: #bbb;
text-transform: uppercase;
line-height: 70px;
text-align: center;
}
.contact-us button:hover {
background: #fbfbfb;
color: #e67632;
}
.contact-us button {
transition: all .3s;
transition: all .3s;
transition: all .3s;
transition: all .3s;
}
.contact-us p {
margin: 0 30px;
padding-bottom: 30px;
font-size: 15px;
color: #cc9471;
line-height: 30px;
}
.error {
display: none;
position: absolute;
left: 390px;
height: 44px;
padding: 0 25px;
background: #f8cc37;
font-size: 15px;
color: #4b2813;
font-style: italic;
line-height: 44px;
white-space: nowrap;
}
.error::before {
content: '';
position: absolute;
top: 17px;
left: -15px;
border: 5px solid rgba(248, 204, 55, 0);
border-right: 10px solid #f8cc37;
}