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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
@function gcd($number, $denominator) { | |
$num: if($number < $denominator, $denominator, $number); | |
$denom: if($number < $denominator, $number, $denominator); | |
$rem: $num; | |
$last_rem: $num; | |
@while $rem != 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
.map | |
this is a map | |
.box | |
.controller | |
this is a controller |
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
<label for="input">Lable:</label> | |
<input id="input" type="text"> |
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="box-set"> | |
<div class="box">Box 1</div> | |
<div class="box">Box 2</div> | |
<div class="box">Box 3</div> | |
</div> |
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
.block |
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
fieldset | |
form | |
label(for="url") enter a URL: | |
input(required id="url" type="url" placeholder="please enter a URL" title="Please enter a valid http:// URL into the field") | |
label(for="numbers") enter a string of numbers and letters: | |
input(required maxlength="7" id="numbers" placeholder="enter data" type="text" pattern="[A-Z]{3}[0-9]{4}" title="Please be sure to enter (3) capitol letters and (4) numbers 'ASD1234'") | |
label(for="number") enter a number | |
input(required type="number" id="qty" min="0" max="100" step="1" title="enter a number") |
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
<span class="inset-one">Hello</span> | |
<span class="inset-two">World</span> |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
// Exmple While Loop | |
@mixin spans($args) { | |
$columns: $args; | |
$col-val: length($columns); | |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
// Importing library for use of the em() function | |
@import "bourbon/bourbon"; | |
/* - inject vars directly into query - */ | |
$break-small: em(320); |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
/* - exploring the @content rule - */ | |
// Creating the mixin that contains the @content rule | |
// ------------------------------- | |
@mixin van ($selector: '.seats') { |
OlderNewer