Search

12/17/2013

Log – Console.log with Style

Log – Console.log with Style

italic — log('this is *italic*') bold — log('this word _bold_') code — log('this word `code`')
Anas Nakawa : Colorful console.log
console.log('%c the green hulk got mad!', 'color: green; font-weight: bold;');

沒有留言: