Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicolas Jezequel burrich

  • Brittany
View GitHub Profile
@burrich
burrich / sass-component.scss
Created Apr 26, 2017
Sass component example
View sass-component.scss
// 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;
View base.css
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
margin: 0;
}
@burrich
burrich / index.js
Created Jul 3, 2018
Pixi JS hello world
View index.js
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';
You can’t perform that action at this time.