Skip to content

Instantly share code, notes, and snippets.

View jssee's full-sized avatar
🤝
Building, destroying

Jesse Hoyos jssee

🤝
Building, destroying
View GitHub Profile
@jssee
jssee / easing.css
Created April 2, 2017 06:29 — forked from bendc/easing.css
Easing CSS variables
:root {
--ease-in-quad: cubic-bezier(.55, .085, .68, .53);
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19);
--ease-in-quart: cubic-bezier(.895, .03, .685, .22);
--ease-in-quint: cubic-bezier(.755, .05, .855, .06);
--ease-in-expo: cubic-bezier(.95, .05, .795, .035);
--ease-in-circ: cubic-bezier(.6, .04, .98, .335);
--ease-out-quad: cubic-bezier(.25, .46, .45, .94);
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
@jssee
jssee / preload.js
Created April 2, 2017 06:06
Preload following stylesheet
const link = document.querySelector("a");
link.addEventListener("mouseenter", () => {
const css = "<link rel=preload as=style href=contact.css>";
document.head.insertAdjacentHTML("beforeend", css);
},{
once:true
});
@jssee
jssee / .vimrc
Last active March 16, 2017 18:36 — forked from bendc/.vimrc
Vim config
set nocompatible
set encoding=utf-8 nobomb
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
Plugin 'VundleVim/Vundle.vim'
@jssee
jssee / breakpoints.css
Created January 23, 2017 22:01 — forked from dbox/breakpoints.css
breakpoints.css (cssnext)
/* breakpoints */
:root { /* px size at 16px base font size */
@custom-media --xs (width < 20em); /* 320px */
@custom-media --s (width < 28em); /* 448px */
@custom-media --m (width < 48em); /* 768px */
@custom-media --l (width < 64em); /* 1024px */
@custom-media --xl (width < 80em);