Skip to content

Instantly share code, notes, and snippets.

View aekaplan's full-sized avatar

Adam Kaplan aekaplan

View GitHub Profile
@aekaplan
aekaplan / gist:5645883
Created May 24, 2013 19:18
Label HTML
<form>
<label>First Name</label>
<input type="text" placeholder="Adam"></input>
<label>Last Name</label>
<input type="text" placeholder="Kaplan"></input>
</form>
@aekaplan
aekaplan / gist:5640867
Last active December 17, 2015 16:39
Input Text SCSS
@mixin transition {
-moz-transition: 0.4s background, 0.4s border-color;
-webkit-transition: 0.4s background, 0.4s border-color;
transition: 0.4s background, 0.4s border-color;
}
@mixin border-radius {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
@aekaplan
aekaplan / gist:5636900
Last active December 17, 2015 16:09
Inputs CSS
input[type="text"] {
background: #fff;
border: 1px solid #ddd;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #555;
display: block;
margin-bottom: 1em;
padding: 0.5em;
@aekaplan
aekaplan / gist:5636802
Last active December 17, 2015 16:09
Inputs HTML
<form>
<input type="text" placeholder="Basic Input"></input>
<input type="text" placeholder="Error" class="error"></input>
<textarea placeholder="Text Area"></textarea>
</form>