Skip to content

Instantly share code, notes, and snippets.

Chris Michel hatefulcrawdad

Block or report user

Report or block hatefulcrawdad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@agorilla
agorilla / _map-get-next.scss
Last active Dec 19, 2018
Sass function map-get-next
View _map-get-next.scss
/// Function to get next map item
/// returns next map item or fallback value if map, key or next item does not exist
/// Github Repo: https://github.com/elcheio/sass-map-get-next-prev
/// Node Module: https://www.npmjs.com/package/sass-map-get-next-prev
///
/// @author Simon Koch <agorilla@me.com>
///
/// Licensed under the MIT license.
///
/// @access public
@EdCharbeneau
EdCharbeneau / properties-for-helper.js
Last active Aug 29, 2015
Get and display css properties at runtime.
View properties-for-helper.js
(function () {
displayCssInfoFor();
})();
// A simple helper to display the CSS properties of an element at runtime.
// Use:
// By defualt, displays the color of the previous sibiling.
// <span data-properties-for></span>
// Specify element
// <span data-properties-for='{"element": "selector"}'></span>
@hatefulcrawdad
hatefulcrawdad / foundation4-semantic-grid.html
Last active May 29, 2019
Our mobile first grid mixins for Foundation 4.0. Comments welcome.
View foundation4-semantic-grid.html
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Foundation Semantic Grid Testing</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
@hatefulcrawdad
hatefulcrawdad / modular-scale.txt
Created Aug 22, 2012
BuzzApp | Modular Scale
View modular-scale.txt
// BuzzApp Modular Scale Table
//
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// | | | | | | | | | | | | | | | | | |
// 16, 21, 26, 34, 42, 56, 68, 90, 110, 146, 177, 236, 287, 382, 464, 618, 752, 1000
Note: These numbers are rounded from the original scale, giving us a cleaner set of numbers to work with.
You can’t perform that action at this time.