Skip to content

Instantly share code, notes, and snippets.

@w3core
Created December 4, 2015 07:32
Show Gist options
  • Save w3core/0bcabec5529950c53414 to your computer and use it in GitHub Desktop.
Save w3core/0bcabec5529950c53414 to your computer and use it in GitHub Desktop.
Google Chrome console.log() output with applied CSS
console.log('%c' + 'Hello Console!', '\
font-size: 2em; \
background: red url("http://a.im9.eu/blonde-milf-hardcore-fucking-big-boobs.gif") no-repeat center center; \
background-size: 100% 100%; \
font-weight: bold; \
color: white; \
text-shadow: 0 0 1px black; \
padding: 0 10% 25%; \
border: .1em solid rgba(0,0,0,.4); \
border-radius: 1em; \
');
@w3core
Copy link
Author

w3core commented Dec 4, 2015

Google Chrome console.log() feature

A Google Chrome browser allows to apply CSS for console.log() output.

anim

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