本篇文章介绍如何自定discuz个人主页的样式
近期发现有的人的某个论坛个人主页超级骚气,还以为这个是在哪设置的呢,研究了好久。
今天下午果断Google找了下,话不多说
原理就是利用discuz论坛代码上传个性化css
1.首先,进入到帖子详细页把下方代码粘贴进F12的console里面执行一下
mycss=prompt('请输入你需要的CSS'); formhash=document.querySelector('input[name=formhash]').value; fetch("/home.php?mod=spacecp&ac=index", {"credentials":"include","headers":{"content-type":"application/x-www-form-urlencoded"},"body":"spacecss=" + encodeURIComponent(mycss) + "&formhash=" + formhash + "&style=t8&layoutdata=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22ISO-8859-1%22%3F%3E%3Croot%3E%3Citem+id%3D%22diypage%22%3E%3Citem+id%3D%22frame%60frame1%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bframe1%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22moveable%22%3E%3C%21%5BCDATA%5Bfalse%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bframe+cl%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22column%60frame1_left%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bframe1_left%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bz+column%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60profile%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bprofile%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E5%A4%B4%E5%83%8F%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspace%26uid%3D27573%26do%3Dprofile%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60personalinfo%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bpersonalinfo%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspace%26uid%3D27573%26do%3Dprofile%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%221%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E7%BC%96%E8%BE%91%E6%88%91%E7%9A%84%E8%B5%84%E6%96%99%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspacecp%26ac%3Dprofile%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5By+xw0%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60friend%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bfriend%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E5%A5%BD%E5%8F%8B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspace%26uid%3D27573%26do%3Dfriend%26view%3Dme%26from%3Dspace%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60statistic%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bstatistic%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E7%BB%9F%E8%AE%A1%E4%BF%A1%E6%81%AF%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22column%60frame1_center%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bframe1_center%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bz+column%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60thread%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bthread%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E4%B8%BB%E9%A2%98%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspace%26uid%3D27573%26do%3Dthread%26view%3Dme%26from%3Dspace%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60visitor%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bvisitor%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bblock+move-span%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3Citem+id%3D%220%22%3E%3Citem+id%3D%22text%22%3E%3C%21%5BCDATA%5B%E6%84%9F%E8%B0%A2%E5%A4%A7%E5%AE%B6%E7%9A%84%E6%9D%A5%E8%AE%BF%7E%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22href%22%3E%3C%21%5BCDATA%5Bhttps%3A%2F%2Fwww.hostloc.com%2Fhome.php%3Fmod%3Dspace%26uid%3D27573%26do%3Dfriend%26view%3Dvisitor%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22color%22%3E%3C%21%5BCDATA%5B+%21important%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22float%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22margin%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22font-size%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22src%22%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3Citem+id%3D%220%22%3E%3C%21%5BCDATA%5Bblocktitle+title%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22style%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Fitem%3E%3C%2Froot%3E¤tlayout=1%3A3&diysubmit=true","method":"POST","mode":"cors"});
然后会有一个弹窗
2.把css粘贴到弹框中,这里我就提供一个(背景图是可以轮播的哦)
body:before { content: close-quote; width: 551px; right: 10px; top: 30px; position: fixed; background: center,url(); background-size: cover; background-position: center; height: 200px; } body { background:none!important; } #hd { visibility: hidden; } #ct:hover { background: rgba(255,255,255,0.8)!important; } #ct { background: rgba(255,255,255,0.7)!important; transition: background 0.5s; border-radius: 7px; backdrop-filter: blur(5px); box-shadow: 0px 0px 20px 6px rgba(0,0,0,0.12),0px 0px 20px 6px rgba(0,0,0,0.12); } #ft { visibility: hidden; } #pprl li { padding: 3px 0 3px 0!important; } #pprl { height: 120px; padding-bottom:0!important; } .block .dxb_bc{ padding-bottom:0!important; } #pprl em { display: none; } #pprl a { font-size: 26px } .hm img { border-radius: 50%; margin-top: -110px; box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.12); padding: 2px; background: #FFF; border: 1px solid; border-color: #F2F2F2 #CDCDCD #CDCDCD #F2F2F2; } div#frame1_left { overflow: visible; } .hm .mbn a { visibility: hidden; } #profile .blocktitle span { display: none; } #scrolltop { display: none!important; } .ct2 .sd { overflow: visible; } .xs2 { visibility: hidden; } #pprl:before { content: close-quote; width: 235px; height: 70px; display: block; margin-left: -10px; /*这个是头像下面的小动图*/ background-image: url(https://qwq.moe/img/mjj.svg); } .ul_list { display: none; } #pprl li:nth-child(1) { width: 210px; color: #333; text-align: center; margin-top: -105px; font-size:24px; text-shadow: 1px 1px 20px rgba(33,33,33,0.3), 1px 1px 5px rgba(33,33,33,0.1); } #pprl li:nth-child(3){ margin-top:55px; } #pprl li:nth-child(2) { display: none } html{ overflow: hidden; } body{ overflow: scroll; height: 100vh; overflow-x:hidden; } ::-webkit-scrollbar { width: 12px; background-color: transparent; } ::-webkit-scrollbar-thumb { border-radius:12px; background-color: rgba(0, 0, 0, 0.2); width transition: all 0.3s; } ::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.4); } ::-webkit-scrollbar-thumb:active { background-color: rgba(0, 0, 0, 0.5); } .gol{ display:none; } #thread_content li a{ transition:margin 0.3s; } #thread_content li a:hover { margin-left: 3px; text-decoration: none; } .mls img{ border-radius:50%; } .hm img{ transition:transform 0.5s; } .hm img:hover{ transform:rotate(360deg); } .mls img{ transition:transform 0.5s; } .mls img:hover{ transform:rotate(-360deg); } #thread_content .xl li { width: 50%; } #thread_content .xl { display: flex; flex-wrap: wrap; } #friend_content .ml { display: flex; justify-content: center; flex-wrap: wrap; } #friend_content { padding: 0; } #personalinfo_content p{ display:none; } #thread_content .xl{ display:flex; flex-wrap:wrap; } #thread_content .xl li{ width:50%; } body:hover #toptb .y a:nth-child(1):before{ opacity:0; height:0; transition: opacity 0.3s linear 3s, height 0s linear 3.3s; } #toptb .y a:nth-child(1):before{ content:close-quote; display:block; position:fixed; z-index:-1; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?1)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(1):after{ opacity:0; height:0; transition: opacity 0.3s linear 6s, height 0s linear 6.3s; } #toptb .y a:nth-child(1):after{ content:close-quote; display:block; position:fixed; z-index:-2; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?2)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(2):before{ opacity:0; height:0; transition: opacity 0.3s linear 9s, height 0s linear 9.3s; } #toptb .y a:nth-child(2):before{ content:close-quote; display:block; position:fixed; z-index:-3; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?3)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(2):after{ opacity:0; height:0; transition: opacity 0.3s linear 12s, height 0s linear 12.3s; } #toptb .y a:nth-child(2):after{ content:close-quote; display:block; position:fixed; z-index:-4; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?4)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(3):before{ opacity:0; height:0; transition: opacity 0.3s linear 15s, height 0s linear 15.3s; } #toptb .y a:nth-child(3):before{ content:close-quote; display:block; position:fixed; z-index:-5; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?5)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(3):after{ opacity:0; height:0; transition: opacity 0.3s linear 18s, height 0s linear 18.3s; } #toptb .y a:nth-child(3):after{ content:close-quote; display:block; position:fixed; z-index:-6; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?6)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(4):before{ opacity:0; height:0; transition: opacity 0.3s linear 21s, height 0s linear 21.3s; } #toptb .y a:nth-child(4):before{ content:close-quote; display:block; position:fixed; z-index:-7; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?7)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(4):after{ opacity:0; height:0; transition: opacity 0.3s linear 24s, height 0s linear 24.3s; } #toptb .y a:nth-child(4):after{ content:close-quote; display:block; position:fixed; z-index:-8; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?8)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(5):before{ opacity:0; height:0; transition: opacity 0.3s linear 27s, height 0s linear 27.3s; } #toptb .y a:nth-child(5):before{ content:close-quote; display:block; position:fixed; z-index:-9; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?9)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(5):after{ opacity:0; height:0; transition: opacity 0.3s linear 30s, height 0s linear 30.3s; } #toptb .y a:nth-child(5):after{ content:close-quote; display:block; position:fixed; z-index:-10; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?10)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y span:nth-child(6):before{ opacity:0; height:0; transition: opacity 0.3s linear 33s, height 0s linear 33.3s; } #toptb .y span:nth-child(6):before{ content:close-quote; display:block; position:fixed; z-index:-11; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?11)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y span:nth-child(6):after{ opacity:0; height:0; transition: opacity 0.3s linear 36s, height 0s linear 36.3s; } #toptb .y span:nth-child(6):after{ content:close-quote; display:block; position:fixed; z-index:-12; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?12)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(7):before{ opacity:0; height:0; transition: opacity 0.3s linear 39s, height 0s linear 39.3s; } #toptb .y a:nth-child(7):before{ content:close-quote; display:block; position:fixed; z-index:-13; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?13)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(7):after{ opacity:0; height:0; transition: opacity 0.3s linear 42s, height 0s linear 42.3s; } #toptb .y a:nth-child(7):after{ content:close-quote; display:block; position:fixed; z-index:-14; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?14)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } body:hover #toptb .y a:nth-child(8):before{ opacity:0; height:0; transition: opacity 0.3s linear 45s, height 0s linear 45.3s; } #toptb .y a:nth-child(8):before{ content:close-quote; display:block; position:fixed; z-index:-15; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?15)!important; background-size: cover; background-attachment: fixed; background-position: center; transition: opacity 0.3s linear 0s; } #toptb .y a:nth-child(8):after{ content:close-quote; display:block; position:fixed; z-index:-16; top:0; left:0; opacity:1; width:100vw; height:100vh; background-image: url(https://api.ixiaowai.cn/api/api.php?16)!important; background-size: cover; background-attachment: fixed; background-position: center; } #toptb{ height:0; overflow:hidden; border:none!important; }
3.最后进入你的主页看就好啦~
微信扫码查看本文
发表评论