Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AWESOMEify your console.log()ing! Because life is too short to be black & white!!!!!!1111one
var log = console.log;
console.log = function(str) {
var css = 'background: linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red); color: white; font-weight: bold;';
var args =;
args[0] = '%c' + args[0];
return log.apply(console, args);
Copy link

zikes commented Mar 12, 2014

Used text-shadow to add a text border for readability:

Copy link

rilutham commented Mar 12, 2014

This code is used for what?

Copy link

zikes commented Mar 12, 2014

Copy link

jotafeldmann commented Mar 12, 2014

lol! Nyan cat is here!

Copy link

tarwn commented Mar 13, 2014

Something critical was missing from that rainbow, Zikes's text-shadow, bigger text, and a hot-linked unicorn: (image:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment