Opt in form for a Singpapore window grilles company website
easy to implement opt in code for lead generation website
by Howard Little
HTML
<div>Sample opt in form for <a href="http://www.oogrille.com">oo grille</a>.</div>
<div>More example <a href="http://www.oogrille.com/aluminium-grille">here</a>.</div>
<br/><br/>
<div class="subscribe-form">
<form action="#" method="post">
<div class="heading">
NEWSLETTER
</div>
<input type="text" value="enter@email.com">
<input type="submit" value="SUBSCRIBE" name="submit-btn">
</form>
</div>
CSS
@import url(//fonts.googleapis.com/css?family=Lato:900);
* {
outline: none;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before, *:after {
display: block;
}
body {
background: url(//i1284.photobucket.com/albums/a574/meecrobe/bg_zpsa69b683b.png);
}
.subscribe-form {
width: 280px;
height: 200px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -100px;
margin-left: -140px;
background: url(//i1284.photobucket.com/albums/a574/meecrobe/bor-top_zps92b00326.png) top center no-repeat, url(//i1284.photobucket.com/albums/a574/meecrobe/bor-bot_zpsc0b729ec.png) bottom center no-repeat, url(//i1284.photobucket.com/albums/a574/meecrobe/form-bg_zpsac871f59.png);
border-radius: 5px;
text-align: center;
box-shadow: 0 0 150px 50px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.subscribe-form form {
width: 282px;
height: 180px;
margin-top: 10px;
border-top: 1px solid #faf8f4;
border-bottom: 1px solid #faf8f4;
-ms-box-shadow: inset 0 0 0 1px #e7e0cf;
box-shadow: inset 0 0 0 1px #e7e0cf;
margin-left: -1px;
}
.subscribe-form form .heading {
width: 280px;
height: 20px;
line-height: 20px;
margin-top: 25px;
background: url(http://i1284.photobucket.com/albums/a574/meecrobe/dashes_zps2c74672d.png) left center no-repeat, url(http://i1284.photobucket.com/albums/a574/meecrobe/dashes_zps2c74672d.png) right center no-repeat;
font-size: 14px;
color: #d36f39;
text-transform: uppercase;
font-family: "Lato", serif;
letter-spacing: 7px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
padding-left: 7px;
}
.subscribe-form form input[type="text"] {
width: 234px;
height: 34px;
background: #f3e6db;
border-radius: 5px;
border: 1px solid #fbfaf3;
-ms-box-shadow: inset 0 0 0 1px #e4c9b4;
box-shadow: inset 0 0 0 1px #e4c9b4;
padding: 0 18px 0 18px;
font-family: Georgia, sans-serif;
font-size: 12px;
font-style: italic;
color: #ba9e88;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
margin: 20px 0...