添加github-corner图标

时间:2020-01-22 18:06:02   收藏:0   阅读:108

直接上教程

copy下面这段

<script data-href="https://你的github地址" data-target="_blank" src="https://unpkg.com/github-corners/dist/embed.min.js"></script>

在样式中添加

body .github-corner > svg {
  fill: red; //背景色
  color:green; //章鱼猫的颜色
}

当然你还可以自定义颜色 飞起

根据需要直接使用类名设置样式即可~??

原文:https://www.cnblogs.com/why98/p/12228956.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!