Created
June 28, 2016 07:24
-
-
Save danielmatthew/10ab3a81f0a4667656dd2586fe7a7808 to your computer and use it in GitHub Desktop.
SitePoint console.log example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (console && console.log && window && window.localStorage && !window.localStorage["hide-watermark"]) { | |
console.log("%c", "font-size:34px; line-height:1.4em;"); | |
var u = "color:#f9a141;font-weight:bold;" | |
, a = "color:#258aaf;font-weight:bold;" | |
, f = "font-size:34px; font-weight:200; letter-spacing:0.02em; line-height:1.4em; font-family:helvetica,arial; color:rgba(0,0,25,0.75);" | |
, l = "font-size:21px; font-weight:200; letter-spacing:0.2em; line-height:1.4em; font-family:helvetica,arial; color:rgba(0,0,25,0.5);"; | |
console.log(" %cXX\n %cXXXXXX\n %cXXXXXXXXXX\n %cXXXXXXXXXXXX\n %cXXXXXXXXXXXX %cXX\n %cXXXXXXXXXXXX %cXXXXXX\n%cXXXXXXXXXXXX %cXXXXXXXXXX\n %cXXXXXXXXXXXX %cXXXXXXXXXXXX\n %cXXXXXXXXXXXX %cXXXXXXXXXXXX\n %cXXXXXXXXXXXX %cXXXXXXXXXXXX\n %cXXXXXXXXXX %cXXXXXXXXXXXX\n %cXXXXXX %cXXXXXXXXXXXX\n %cXX %cXXXXXXXXXXXX\n %cXXXXXXXXXXXX\n %cXXXXXXXXXX\n %cXXXXXX\n %cXX\n", u, u, u, u, u, a, u, a, u, a, u, a, u, a, u, a, u, a, u, a, u, a, a, a, a, a), | |
console.log("%cSitePoint", f), | |
console.log("%cSharing our passion for building incredible internet things", l), | |
console.log("%c", "font-size:34px; line-height:1.4em;") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment