📜  js console.log 颜色 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:54.091000             🧑  作者: Mango

代码示例2
console.log('%c My txt ', 'My css');

// Example
console.log('%c Hello world ', 'background: #222; color: #bada55');