使用 CSS 实现随机背景图片效果
<style>
#background-image {
background-image: url("randomNumber.jpg")!important;;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position-x: center;
}
.hope-ui-light {
background-image: url("randomNumber.jpg")!important;;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position-x: center;
}
.obj-box.hope-stack.hope-c-dhzjXW.hope-c-PJLV.hope-c-PJLV-igScBhH-css {
background-color: rgba(255, 255, 255, 0.3) !important;
}
.hope-c-PJLV.hope-c-PJLV-ikSuVsl-css{
background-color: rgba(255, 255, 255, 0.3) !important;
}
.hope-c-ivMHWx-hZistB-cv.hope-icon-button{
background-color: rgba(255, 255, 255, 0.3) !important;
}
.hope-c-PJLV-ijgzmFG-css{
background-color: rgba(255, 255, 255, 0.3) !important;
}
</style>
原文地址: https://www.cveoy.top/t/topic/pNtO 著作权归作者所有。请勿转载和采集!