随机动漫图片api分享
本站为各位宅男开发了随机动漫图片API。
安装方法:
背景调用法原<body>标签改为
<body background="http://wiki.linlinzzo.top/dm/">即可使用api。
其它代码:(透明背景型)
<style>
body:before{
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: .3;
z-index: -1;
content: "";
position: fixed;
background: url(http://wiki.linlinzzo.top/dm) center/cover;
}
</style>
(非透明背景型)
<style>
body{
background: url("http://wiki.linlinzzo.top/dm") center/cover no-repeat;
}
</style>
刷新网页时更换图片。
html图片调用法<img src="http://linlinzzo.top/dm" alt="随机动漫图片">
刷新网页时更换图片。
超链接调用法<a href="http://linlinzzo.top/dm">随机动漫图片</a>
本方法调用图片需点击超链接,再次点击更换图片。
“在此给个示例”Via浏览器调用法定制-logo-html代码输入:
<img src="http://wiki.linlinzzo.top/dm/index.php" alt="浏览墙纸" style="width:200px;height:100px;float: center;margin-right: auto;margin-left: auto;" />
不要过快刷新,右上角点击圈圈更换图片。
html教程 2020-10-01 17:28:38 通过 手机 浏览(102)
共有2条评论!
浏览器之间没有什么差别
林林粽子官回复:已在原文中更正!
查看调用次数请访问linlinzzo.top/dm/dm.php
林林粽子官回复:在此提醒各位不要频繁刷新,本站的带宽有限。