Last active
August 29, 2015 14:08
-
-
Save tsbits/72c4e03f060d50f2f266 to your computer and use it in GitHub Desktop.
Colored console.log
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
// Pour les retours à la ligne mettre \n | |
// %c applique du css. A chaque %c, ca applique le css suivant, | |
// donc de 'Made by Creaktif' a '\n' ca applique 'background: #cdcdcd; color: #fff' | |
// et après celui ci 'background: #8a8a8a; color: #fff', car il y a de nouveau un %c après le \n | |
console.log('%c MADE BY CREAKTIF \n%c www.creaktif.com ', 'background: #cdcdcd; color: #fff', 'background: #8a8a8a; color: #fff'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment