Created
December 4, 2018 17:45
-
-
Save operateur-mar/805ef31b3ff9c8765a980e5320e9bf21 to your computer and use it in GitHub Desktop.
This file contains 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
// Stylize a consode using join(;) | |
const style1 =[ | |
'font-size : 40px', | |
'font-family : calibri', | |
'font-weight : bold', | |
'color : yellow' | |
].join(';'); | |
const style2 =[ | |
'font-size : 20px', | |
'font-family : tahoma', | |
'font-weight : bold', | |
'color : green' | |
].join(';'); | |
console.log("%cApply Style1",style1); | |
console.log("%cApply Style2",style2); | |
console.log("%cMixed %cStyle",style2,style1); | |
// www.aqweeb.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment