技术分享mac代码块通过html实现mac代码块astar2024-02-212024-02-23<html><style> .mac { width:10px; height:10px; border-radius:5px; float:left; margin:10px 0 0 5px; } .b1 { background:#E0443E; margin-left: 10px; } .b2 { background:#DEA123; } .b3 { background:#1AAB29; } .warpper{ background:#121212; border-radius:5px; width:400px; }</style><div class="warpper"> <div class="mac b1"></div> <div class="mac b2"></div> <div class="mac b3"></div><div><br></html>```shell#include<iostream>using namespace std;int main(){ return 0;}/```主最后一行"/```"前面的“/”要删掉,我加入/是因为我用的markdown编辑器 另一种方式,用基础的代码为 css 样式,添加到 markdown 标头位置。<style> .i1 { background: #121212; border-radius: 5px; width: 700px; } .mac { width: 10px; height: 10px; border-radius: 5px; float: left; margin: 10px 0 0 5px; } .b1 { background: #e0443e; margin-left: 10px; } .b2 { background: #dea123; } .b3 { background: #1aab29; }</style> 效果如下↓ #include<iostream>using namespace std;int main(){ return 0;} astarDark Star Domain,暗星域原创通过html实现mac代码块打赏作者感谢你赐予我前进的力量微信支付宝赞赏者名单因为你们的支持让我意识到写文章的价值🙏使用手机访问这篇文章本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Astar Blog! 技术分享14 mac1 代码块2上一篇如何创建一个hexo的静态博客下一篇2024著名的11家vps厂商大盘点喜欢这篇文章的人也看了 2024-02-23通过html实现mac代码块 评论匿名评论隐私政策✅ 你无需删除空行,直接评论以获取最佳展示效果Dark Star Domain 暗星域 技术分享 自己的小站astarDark Star Domain,暗星域公告欢迎来看我的博客鸭~文章目录1. 另一种方式,用基础的代码为 css 样式,添加到 markdown 标头位置。 效果如下↓最近发布MinIO + PicList | 自建图床、视频音频床方案2024-03-05图片加速接口:缓存图片,加速访问,解决防盗链2024-03-05批量查询 eu.org 域名注册情况(附带源码)2024-03-05查询的路由哥CF反代IP域名2024-03-05谷歌大模型AI—Gemini白嫖api攻略2024-02-28