This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<input type="text" placeholder="Basic Input"></input> | |
<input type="text" placeholder="Error" class="error"></input> | |
<textarea placeholder="Text Area"></textarea> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<label>First Name</label> | |
<input type="text" placeholder="Adam"></input> | |
<label>Last Name</label> | |
<input type="text" placeholder="Kaplan"></input> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.timeline:before { | |
background: #ddd; | |
content: " "; | |
position: absolute; | |
top: 20px; | |
left: 31%; | |
bottom: 0; | |
width: 1px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p.example:before { | |
background: #d31742; | |
content: "before"; | |
color: #fff; | |
padding: 0 0.3em; | |
} | |
p.example:after { | |
background: #d31742; | |
content: "after"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.example li:before { | |
content: "★"; | |
color: #d31742; | |
padding-right: 0.5em; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cf:before, | |
.cf:after { | |
content: " "; | |
display: table; | |
} | |
.cf:after { | |
clear: both; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.column-example { | |
float: left; | |
margin-left: 3.2%; | |
width: 31.2%; | |
} | |
.column-example:first-child { | |
border: 1px solid #008080; | |
margin-left: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
OlderNewer