Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View burrich's full-sized avatar

Nicolas Jezequel burrich

View GitHub Profile
@burrich
burrich / sass-component.scss
Created April 26, 2017 23:49
Sass component example
// an icons stack component example (used on a Font Awesome vertical stack)
%icons-stack {
position: absolute;
font-size: 1.4em;
}
@mixin icons-stack($top, $right, $bottom, $left) {
@extend %icons-stack;
@burrich
burrich / base.css
Last active January 25, 2018 16:52
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
margin: 0;
}
@burrich
burrich / index.js
Created July 3, 2018 20:23
Pixi JS hello world
import * as PIXI from 'pixi.js';
/**
* CONSOLE HELLO WORLD
* nb : also rendered with new PIXI.Application()
*/
// let type = 'WebGL';
// if (!PIXI.utils.isWebGLSupported()){
// type = 'canvas';