developers.google.com/web/tools/chrome-devtools/console/console-write),内容引用如下:
使用 CSS 设置控制台输出的样式
利用 CSS 格式说明符...,您可以自定义控制台中的显示。...使用说明符启动字符串,并设置为您希望的样式,作为第二个参数。...("%cThis will be formatted with large, blue text",
"color: blue; font-size: x-large");
..将您的日志输出设置为蓝色的大字体...(175,250,77,1) 12%, rgba(0,247,49,1) 28%, rgba(0,210,247,1) 39%,rgba(0,189,247,1) 51%, rgba(133,108,217,1