selfish
2/2/2016 - 4:29 PM

Chrome console styling

Chrome console styling

// For some reason space is required after %c. Second parameter is any css.

console.log("%c This will be formatted", "color: #FAC66E; background-color: #2B2B2B; font-size: medium");

console.log(`%c This will be ${}`, "color: #FAC66E; background-color: #2B2B2B; font-size: medium");