这是一个刷新就会更换背景的页面(skipos板式可用)

作者: rice0_0rice0_0rice0_0 <添加自己的认证?>
认证: 澳门威尼斯人储斯博得国际娱乐技术专员(不是

a16.png 已注销用户

创作时间: 03 Feb 2025 09:01
正文:

[[div class="background-img"]]
[[html]]
<style>
.a {
    position: fixed;
    width: 100%;
    height: 100%; 
    object-fit: cover;
}
</style>
<img src class="a">
<script>
var min = 1;
var max = 9;
document.querySelector(".a").src = "https://wbldxzfe230.wdfiles.com/local--files/a0f4e/" + Math.floor(Math.random() * (Math.floor(min) - Math.ceil(max) + 1) + Math.ceil(max)) + ".png"
//这里的代码需要自行修改成自己的网站,并将图片以https://xxx.com/(从1到任意数字).jpg的链接格式上传,min为第一张图片的编号,max为最后一张的编号
//请修改后面的.png为自己的图片格式
</script>
[[/html]]
[[/div]]

[[module CSS]]
:root {
    --desktop-wallpaper: none;
}

.background-img iframe {
    z-index: -10;
    left: 0px;
    top: 0px;
    position: fixed;
    width: 100%;
    height: 100%; 
    border: none;
    margin: 0;
    padding: 0;
}
[[/module]]


新入坑phigros的成果
by Karlbaey101

思考🧐☝️
by niezechuan25


评分: +2+x

分享博客:http://truthboard.wikidot.com/blog:1271
引用本文:[[include :truthboard:blog:1271]]
标签: skipos

评论数: 5

新回复

常用功能性标签编辑工具:
|版权: {版权 ◄取消} {版权冲突 ◄取消}
|讨论区: {倒序评论 ◄取消} {隐藏评论 ◄取消}
|警告: {R-15警告 ◄取消} {R-18警告 ◄取消}
|位置: {置顶 ◄取消} {隐藏 ◄取消}
|标记: {活动 ◄取消} {公告 ◄取消}
|樣式: {SkipOS ◄取消}
|其他: {争议性内容 ◄取消} {管理 ◄取消}

查看本页面的附件:

本页没有附件。

除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution 3.0 License