Last Updated: February 25, 2016
·
1.786K
· nicoss01

Beautiful Javascript Console Message

To display a beautiful CSS3 message in your javascript console, use this code :

console.log("%c This is a beautiful JS console message","text-shadow: 0 0 10px #fff,0 0 20px #fff,0 0 30px #fff,0 0 40px #ff00de,0 0 70px #ff00de,0 0 80px #ff00de,0 0 100px #ff00de,0 0 150px #ff00de;padding:20px;font-size:30px;color:#fff;background:#000")

Picture

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside