Skip to content

Instantly share code, notes, and snippets.

View scottkellum's full-sized avatar
🕴️
Working on Typetura

Scott Kellum scottkellum

🕴️
Working on Typetura
View GitHub Profile
// HTML
<body id="dark">
<div class="rotate">
<a href="#light" class="light"></a>
<a href="#dark" class="dark"></a>
</div>
</body>
@scottkellum
scottkellum / about.md
Last active December 10, 2015 00:38 — forked from mirisuzanne/about.md

About This Proposal

This is a very rough proposal for a radical Susy 2.0 API overhaul.

The basic goals are:

  1. Flexible: Allow all the main layout approaches.
  • float / isolation
  • columns (symmetrical & asymmetrical) / fractions / explicit widths
  • gutters inside or outside - before, after, or split
@scottkellum
scottkellum / SassMeister-input.scss
Created January 9, 2013 21:47
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.3
%foo {
color: red;
@media context_1 {
color: green;
}
}
@media context_1 {
@scottkellum
scottkellum / SassMeister-input.scss
Created January 10, 2013 14:32
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.3
// Compass v0.12.2
@import "compass";
// your function to do whatever
@function add-px($n) {
@return $n * 1px;
}
@mixin grid-output($method) {
// default output methods
@if $method == float {
float: left;
// float styles.
}
@if $method == isolation {
float: left;
// float styles.
}
@scottkellum
scottkellum / SassMeister-input.scss
Created February 5, 2013 17:06
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.7
// Breakpoint v1.3
@import "breakpoint";
@function color() {
$context: breakpoint-get-context(min-width);
@if $context == 550px {
@return blue;
}
@scottkellum
scottkellum / SassMeister-input.scss
Created March 27, 2013 17:35
Generated by SassMeister.com, the Sass playground.
// ---
// Singularity.gs (v1.0.5)
// Sass (v3.2.7)
// ---
$grids: 12;
$gutters: 1/3;
div {
@scottkellum
scottkellum / SassMeister-input.scss
Created April 10, 2013 19:35
Generated by SassMeister.com, the Sass playground.
@function opacify($color, $bg: white) {
@return mix($color, $bg);
}
foo {
color: opacify(red);
}
  • style.scss
  • _partial-1.scss
  • _partial-2.scss
  • _partial-3.scss
  • ...

Where style.scss looks like this:

@import "partial-1";
@scottkellum
scottkellum / SassMeister-input.sass
Created May 1, 2013 02:10
Generated by SassMeister.com, the Sass playground.
=bigger
font-size: bigger
%button
baz: boo
div
stuff: stuff