console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');

console.log("%cStr1"+"%cStr2","CSS-for-str1","CSS-for-str2")

console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
console.log("%cStr1"+"%cStr2","CSS-for-str1","CSS-for-str2")
本文标题:Colors in JavaScript console
本文链接:https://www.haomeiwen.com/subject/bwgdvdtx.html
网友评论