console输出彩色字体

console.log("%c%s","color: red; background: yellow; font-size: 24px;","警告!");
posted @ 2018-09-26 10:41  安筱雨  阅读(190)  评论(0编辑  收藏  举报