Skip to content

Instantly share code, notes, and snippets.

Jonathan Felchlin GreenGremlin

Block or report user

Report or block GreenGremlin

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
GreenGremlin / matrix-rotation-spinner.scss
Created Jan 29, 2016
Sass matrix rotation (doesn't quite work)
View matrix-rotation-spinner.scss
// Matrix rotation version:
// this would work, except the y-axis is fliped for box-shadow
$m-0-degrees: ((1, 0), (0, 1));
$m-90-degrees: ((0, 1), (-1, 0));
$m-180-degrees: ((-1, 0), (0, -1));
$m-270-degrees: ((0, -1), (1, 0));
@function m-rotate($x, $y, $m) {
$m1: nth($m, 1);
GreenGremlin / gist:5036539
Last active Dec 14, 2015
Example of mobile Safari viewport height bug.
View gist:5036539
<!DOCTYPE html>
<html xmlns="" xml:lang="en" lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1" >
body {
margin: 0;
.view-port-sized {
height: 100vh;
You can’t perform that action at this time.