web建站教程
  1. 首页
  2. vuejs
  3. js
  4. 好玩
  5. seo教程
  6. 前端知识
  7. 百度echarts
  8. 更多
    php入门
    nodejs
    mockjs
    reactjs
    mysql
    wordpress
    织梦cms
    帝国cms
    git教程
    IT知识
    模板大全
    休息站

console.log输出图片和ascii

652 ℃
           

console输出自己想要的图片和ascii图形

console.log(
  '%c ',
  `padding: 25px 100px;
  margin:50px;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABBCAYAAACU5+uOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABn9JREFUeNrsnD2O20YUxykjhQPEBXMEqXZF5QABtF0+KuoIUu0ADgU4pQ2ILuJaOoLVxelEIAfwqnFq8QjLIjZcrofGEHl+nnkzpIbSrvT/AQNbyxE5M3z/eR/k7uDh03eR5mfVnqj2g2rfRefLe9Xeqvanan/XP/j48nEEgIkH+t/nqv2l2o9nLo5Iz6+e5xs9bwBEgfyk2rMLnf8z7TkBsArktwtfgycwAyAJZHzhazCGGQBJII8ufA0ewQyAK0kHAEAgAEAgAEAgAEAgAEAgAEAgAEAgAEAgAEAgAAAIBAAIBAAIBAAIBAAIBAAIBID7wTf3cdAfXz4e0M/f/v7vRP2z7et66vzNf+trTMih+rcRd46vD1Xbk89r1eYBhrVULSOf5/rcLm4DjSXTY2i4Uq1wfIeu305/p/K8lonYsAYFW2+JUt+fhoVqOf0rN/Ag7eAGMGE3/9bQ+M2aWfo1beU5ltzTiEIwMYxzaTB+09xjcg66XolqNx7r1azZ0tD4nHct55UjxAoL36HTI157z0Q00zsg9VSSgZ5qvaqWAjYZ7VS1gW4jdmxEjpkEMifHeVtDIGGpb/aG7YIJCTFMN2FkMBrepy3Njjp09Js7QpiZpwcrDGNesD6m+ecW77GwzL2wGO3uVDccAgkbZvXJSNgJba3ocJ38wHGuiNhutIgztsms78vNhkC6hQ3cTU+EnMInB+HHry3JPv2OqSjxmvWZtJzLgIVtbUn0+KnYhg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KeDeY63tpWQhWWawg5POzeVBZp6ViPQI4VUWBX7PpuUNpq8zUGO9dbS2z0FsCWPzSsXWsC5LQ+J8LcyBt7brem1ZDymRpwa+IOuXs7VJHHmFyzvuI/fzJe+1cHmQOnzyeVfIt9/nG6r6HvSuVYtr9U1zo18fOQ/xYRod8Barx/h8z52yjTJnXiDXfWgFahwo8e4SSn4hwMHDp+/uirGdDP5HIADwDbEAgEAAABAIABAIABAIABAIABAIABAIABAIABAIABAIAAACAQACAQACAQACAQACAeDuCeS/C1+D9zADIAnk+sLX4C3MAEgCeXXha/AKZgAkgbxR7cWFzv+Fnj8AYpL+h2q/qvaPah/OfM4f9Dx/0fMGwMonAQYA3lIwlhcPEzMAAAAASUVORK5CYII=') no-repeat`
)
var ascii = `
  _    _      _ _        __          __        _     _ 
 | |  | |    | | |       \ \        / /       | |   | |
 | |__| | ___| | | ___    \ \  /\  / /__  _ __| | __| |
 |  __  |/ _ \ | |/ _ \    \ \/  \/ / _ \| '__| |/ _` |
 | |  | |  __/ | | (_) |    \  /\  / (_) | |  | | (_| |
 |_|  |_|\___|_|_|\___/      \/  \/ \___/|_|  |_|\__,_|                                                                                                                                                                                  
`
console.log(`%c${ascii}`,'color:#e59de3')

输出结果

console.log输出图片和ascii

vuejs前端项目禁止用户调试(Vue项目防止被调试)

php如何将ASCII码转成数值

php如何利用ord()函数将字符转ascii码

console控制台输入有哪些好玩的用法

console.log报Uncaught TypeError: Assignment to constant varia

标签: ascii, console, log

上面是“console.log输出图片和ascii”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。

当前网址:https://ipkd.cn/webs_1459.html

声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

当前位置: 网站首页 > 前端知识
本文共计2708个字,预计阅读时长19分钟
生活小工具,收录了80多款小工具
上一篇: 介绍几款带有中国风古韵的免费可商用中文字体
下一篇: 推荐9款支持 Vue3 免费开源的前端 UI 组件库
x 打工人ai神器