Skip to content

Instantly share code, notes, and snippets.

View scottbedard's full-sized avatar

Scott Bedard scottbedard

View GitHub Profile
/**
* This stylesheet removes styles and converts stopwatches on
* https://chronograph.io to H:MM:SS.ms display.
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
body {
background: #03021f !important;
font-family: 'Montserrat', sans-serif !important;
function cubicBezier ([p0, p1, p2, p3]) {
// linear
if (p0 === p1 && p2 === p3) {
return x => x
}
// non-linear
const a = (a1, a2) => 1 - 3 * a2 + 3 * a1
const b = (a1, a2) => 3 * a2 - 6 * a1
const c = (a1) => 3 * a1
@scottbedard
scottbedard / SassMeister-input.scss
Last active November 17, 2015 22:02
SCSS transition mixin
// ----
// libsass (v3.2.5)
// ----
@mixin transition($properties...) {
$transition:;
$using-default: false;
$default-duration: nth($properties, length($properties));
@for $i from 1 through length($properties) {