在console中输出图片

console.log("%c\n     ","font-size:81px;background:url('http://www.baidu.com/img/bdlogo.gif') no-repeat 0 0");

console.log("信息%c来自:console","color:red;font-weight:bold;");

IE不支持

posted @ 2013-07-26 14:38  artwl  阅读(2357)  评论(0编辑  收藏  举报

个人简介

var ME = {
	"name": "土豆/Artwl",
	"job": "coding",
	"languages": [
		"JS", "HTML",
                "CSS", "jQuery"
		"MVC",".NET",
		"设计模式"
	],
	"hobby": [
		"阅读", "旅游",
		"音乐", "电影"
	]
}
TOP