This file contains hidden or 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
// path to local mixin | |
@import "../../stylesheets/breakpoint"; | |
// @import "breakpoint"; | |
/* 1. Using Breakpoint to do exactly what you propose */ | |
$breakpoint-default-media: 'only screen'; | |
$break-small: 320px; | |
$break-medium: 580px; | |
$break-large: 1234px; |
This file contains hidden or 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
<nav class="main-menu"> | |
<ul> | |
<li> | |
<a href="">Book Store</a> | |
</li> | |
<li> | |
<a href="">Readings</a> | |
</li> | |
<li> | |
<a href="">Book Services</a> |
This file contains hidden or 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.2.5 | |
@mixin debug-outline($color: red, $background-color: false) { | |
outline: 1px solid $color; | |
@if $background-color != false { | |
background-color: $background-color; | |
} | |
} | |
.foo { |
This file contains hidden or 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.2.5 | |
// Breakpoint v1.3 | |
@import "breakpoint"; | |
// Sass v3.2.5 | |
// Breakpoint v1.3 | |
// @import "breakpoint"; |
This file contains hidden or 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
$iterations: 100; | |
@function lmao($orig-color, $iterations, $sx, $sy, $sz) { | |
$output: ''; | |
$end: $iterations; | |
$x0: $sx / 10; | |
$y0: $sy; | |
$z0: $sz; | |
$h: 0.01; |
This file contains hidden or 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.2.9) | |
// --- | |
$button-color: #ECECEC; | |
$button-text-color: #2d2d2d; | |
input[type="submit"] { | |
border-radius: 0.2em; |
This file contains hidden or 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.2.9) | |
// --- | |
@mixin button() { | |
$button-color: #ECECEC; | |
$button-text-color: #2d2d2d; | |
border-radius: 0.2em; | |
color: $button-text-color; |
This file contains hidden or 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.2.9) | |
// --- | |
.button { | |
$button-color: #ECECEC; | |
$button-text-color: #2d2d2d; | |
border-radius: 0.2em; | |
color: $button-text-color; |
This file contains hidden or 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.2.9) | |
// --- | |
%button { | |
$button-color: #ECECEC; | |
$button-text-color: #2d2d2d; | |
border-radius: 0.2em; | |
color: $button-text-color; |
This file contains hidden or 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.2.9) | |
// --- | |
@mixin button($button-color: #ECECEC, $button-text-color: #2d2d2d) { | |
border-radius: 0.2em; | |
color: $button-text-color; | |
background: { | |
color: $button-color; |