Flat Login
Flat login inspired by Alex Lingeman link: https://dribbble.com/shots/1592614-Login-states?list=shots&sort=popular&timeframe=now&offset=99
<html>
<html>
<head>
</head>
<body>
<div class="wrapper">
<div id="box">
<img src="http://www.pixentral.com/pics/1A2fMA1TzhR2QtSPBE7jHWv9k.png" alt="lock" />
<h3>Please sign in</h3>
<form>
<input type="text" placeholder="USERNAME" />
<input type="text" placeholder="PASSWORD" />
</form>
<a href="#">forgot ?</a>
<input onclick="this.style.backgroundColor = '#69c061';" type="submit" value="go on... click me!"/>
<div class="signup">
<p>not a member ? <a href="#">sign up</a></p>
</div>
</div>
</div>
</body>
</html>
url(http://fonts.googleapis.com/css?family=Montserrat:400,700)
url(http://fonts.googleapis.com/css?family=Montserrat:400,700)
$gray: #666
$light-gray: #ccc
body
outline: none
width: 100%
height: 100%
margin: 50px auto
background: #f9f9f9
box-sizing: border-box
font-family: 'Montserrat', sans-serif
#wrapper
width: 100%
height: 100%
margin: 0 auto
#box
width: 320px
height: auto
margin: 0 auto
background: #fff
border: thin solid #ededed
#box > img
width: 16px
height: auto
display: block
margin: 0 auto
padding: 30px 0 20px 0
#box > h3
text-transform: uppercase
text-align: center
font-size: .9em
color: $gray
margin: 0 0 35px 0
#box > form
width: 100%
height: auo
margin: 0 auto
text-align: center
#box > form > input
display: inline-block
width: 260px
height: 50px
margin: 5px auto
padding: 15px
box-sizing: border-box
font-size: .8em
border: 1.5px solid #cccccc
transition: all .2s ease
#box > form > input:focus
border: thin solid #015b7e
outline: none
::-webkit-input-placeholder
color: $light-gray
font-weight: 700
font-size: .9em
#box > a
display: block
margin: 0
padding: 5px 0 15px 0
width: 260px
height: 20px
margin: 0 auto
text-align: right
text-transform: uppercase
font-size: .7em
color: $light-gray
font-weight: 400
#box > input
width: 260px
height: 50px
background: #015b7e
border: none
outline: none
margin: 0 auto
display: block
color: #fff
text-transform: uppercase
text-align: center
margin-bottom: 20px
border-radius: 3px
cursor: pointer
font-weight: 700
font-size: .7em
transition: all .2s ease
#box > input:hover
background: #014965
#box > .signup
width: 100%
height: auto
border: none
background: #f5f5f5
outline: none
margin: 0 auto
padding: 20px
display: block
color: $gray
text-transform: uppercase
text-align: center
box-sizing: border-box
font-size: .8em
#box > .signup p,a
font-size: .8em
text-decoration: none
#box > .signup p
color: $light-gray
#box > .signup a
text-decoration: none
color: #015b7e
font-size: 1em
padding-left: 25px