This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, | |
*:before, | |
*:after { | |
box-sizing: border-box; | |
} | |
body { | |
margin: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |