View gist:5682861
<div class="row"> | |
<div class="column-example"> | |
<p>Column 1</p> | |
</div> | |
<div class="column-example"> | |
<p>Column 2</p> | |
</div> | |
<div class="column-example"> |
View gist:5682833
<div class="row"> | |
<div class="column-example-bad first"> | |
<p>Column 1</p> | |
</div> | |
<div class="column-example-bad"> | |
<p>Column 2</p> | |
</div> | |
<div class="column-example-bad"> |
View gist:5682773
.column-example { | |
float: left; | |
margin-left: 3.2%; | |
width: 31.2%; | |
} | |
.column-example:first-child { | |
border: 1px solid #008080; | |
margin-left: 0; | |
} |
View gist:5679831
p.example:before { | |
background: #d31742; | |
content: "before"; | |
color: #fff; | |
padding: 0 0.3em; | |
} | |
p.example:after { | |
background: #d31742; | |
content: "after"; |
View gist:5680048
.cf:before, | |
.cf:after { | |
content: " "; | |
display: table; | |
} | |
.cf:after { | |
clear: both; | |
} |
View gist:5679880
ul.example li:before { | |
content: "★"; | |
color: #d31742; | |
padding-right: 0.5em; | |
} |
View gist:5679711
.timeline:before { | |
background: #ddd; | |
content: " "; | |
position: absolute; | |
top: 20px; | |
left: 31%; | |
bottom: 0; | |
width: 1px; | |
} |
View gist:5645883
<form> | |
<label>First Name</label> | |
<input type="text" placeholder="Adam"></input> | |
<label>Last Name</label> | |
<input type="text" placeholder="Kaplan"></input> | |
</form> |
View gist:5640867
@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; |
View gist:5636900
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; |