全球主机交流论坛

标题: 【个人空间DIY】大伙来看看我空间好看不 [打印本页]

作者: Archeb    时间: 2020-3-24 14:26
标题: 【个人空间DIY】大伙来看看我空间好看不
本帖最后由 Archeb 于 2020-3-30 09:54 编辑

点击我的头像可查看 PC版效果最佳

感谢原来 https://www.lilynana.eu.org/thread-663279-1-1.html @高板惠乃果  的思路,我把它做成了只需要js网页运行的

说明:使用的是discuz自带的接口,一切安全的,所有支持个人空间自定义的discuz论坛都可用

以下代码,
①打开pastebin,Ctrl+A全选RAW Paste Data,复制
②在一个有回复评论框的帖子,F12 - Console - 粘贴 - 回车执行
③然后他会弹出一个框,你再把css输入进那个框里面
④确定,然后到自己空间看效果

https://pastebin.com/YEqpfbbt

配合伪元素和SVG,能做出非常非常非常多有趣的效果

如果你不会用,一键版 →→→ https://www.lilynana.eu.org/thread-665260-1-1.html

不过需要具备前端知识

下面这个是我的CSS


  1. body:before {
  2.         content: close-quote;
  3.         width: 551px;
  4.         right: 10px;
  5.         top: 30px;
  6.         position: fixed;
  7.         background: center,url();
  8.         background-size: cover;
  9.         background-position: center;
  10.         height: 200px;
  11. }

  12. body {
  13.         background-image: url(https://api.ixiaowai.cn/api/api.php)!important;
  14.         background-size: cover;
  15.         background-attachment: fixed;
  16.         background-position: center;
  17. }

  18. #ct {
  19.         opacity: 0.8;
  20. }

  21. #hd {
  22.         visibility: hidden;
  23. }

  24. #ct:hover {
  25.         opacity: 0.95;
  26. }

  27. #ct {
  28.         opacity: 0.85;
  29.         transition: opacity 0.5s;
  30.         border-radius: 7px;
  31.         box-shadow: 0px 0px 20px 6px rgba(0,0,0,0.12),0px 0px 20px 6px rgba(0,0,0,0.12);
  32. }

  33. #ft {
  34.         visibility: hidden;
  35. }

  36. #pprl li {
  37.         padding: 3px 0 3px 0!important;
  38. }

  39. #pprl {
  40.         height: 120px;
  41. padding-bottom:0!important;
  42. }
  43. .block .dxb_bc{
  44. padding-bottom:0!important;
  45. }

  46. #pprl em {
  47.         display: none;
  48. }

  49. #pprl a {
  50.         font-size: 26px
  51. }

  52. .hm img {
  53.         border-radius: 50%;
  54.         margin-top: -110px;
  55.         box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.12);
  56.         padding: 2px;
  57.         background: #FFF;
  58.         border: 1px solid;
  59.         border-color: #F2F2F2 #CDCDCD #CDCDCD #F2F2F2;
  60. }

  61. div#frame1_left {
  62.         overflow: visible;
  63. }

  64. .hm .mbn a {
  65.         visibility: hidden;
  66. }

  67. #profile .blocktitle span {
  68.         display: none;
  69. }

  70. #scrolltop {
  71.         display: none!important;
  72. }

  73. #toptb {
  74.         display: none!important;
  75. }

  76. .ct2 .sd {
  77.         overflow: visible;
  78. }

  79. .xs2 {
  80.         visibility: hidden;
  81. }

  82. #pprl:before {
  83.         content: close-quote;
  84.         width: 235px;
  85.         height: 70px;
  86.         display: block;
  87.         margin-left: -10px;
  88.         background-image: url(https://qwq.moe/img/mjj.svg);
  89. }
  90. .ul_list {
  91.     display: none;
  92. }
  93. #pprl li:nth-child(1) {
  94.     width: 210px;
  95.     color: #333;
  96.     text-align: center;
  97.     margin-top: -105px;
  98.     font-size:24px;
  99.     text-shadow: 1px 1px 20px rgba(33,33,33,0.3), 1px 1px 5px rgba(33,33,33,0.1);
  100. }
  101. #pprl li:nth-child(3){
  102. margin-top:55px;
  103. }

  104. #pprl li:nth-child(2) {
  105.         display: none
  106. }
  107. html{
  108.     overflow: hidden;
  109. }
  110. body{
  111.     overflow: scroll;
  112.     height: 100vh;
  113.     overflow-x:hidden;
  114. }
  115. ::-webkit-scrollbar {
  116.   width: 12px;
  117.   background-color: transparent;
  118. }
  119. ::-webkit-scrollbar-thumb {
  120.   border-radius:12px;
  121.   background-color: rgba(0, 0, 0, 0.2);
  122.   width
  123.   transition: all 0.3s;
  124. }
  125. ::-webkit-scrollbar-thumb:hover {
  126.   background-color: rgba(0, 0, 0, 0.4);
  127. }
  128. ::-webkit-scrollbar-thumb:active {
  129.   background-color: rgba(0, 0, 0, 0.5);
  130. }

  131. .gol{
  132.     display:none;
  133. }
  134. #thread_content li a{
  135.     transition:margin 0.3s;
  136. }
  137. #thread_content li a:hover {
  138.     margin-left: 3px;
  139.     text-decoration: none;
  140. }
  141. .mls img{
  142. border-radius:50%;
  143. }
  144. .hm img{
  145.     transition:transform 0.5s;
  146. }
  147. .hm img:hover{
  148.     transform:rotate(360deg);
  149. }
  150. .mls img{
  151.     transition:transform 0.5s;
  152. }
  153. .mls img:hover{
  154.     transform:rotate(-360deg);
  155. }
  156. #thread_content .xl li {
  157.     width: 50%;
  158. }

  159. #thread_content .xl {
  160.     display: flex;
  161.     flex-wrap: wrap;
  162. }
  163. #friend_content .ml {
  164.     display: flex;
  165.     justify-content: center;
  166. }

  167. #friend_content {
  168.     padding: 0;
  169. }
  170. #personalinfo_content p{
  171. display:none;
  172. }
  173. #thread_content .xl{
  174.     display:flex;
  175.     flex-wrap:wrap;
  176. }
  177. #thread_content .xl li{
  178.     width:50%;
  179. }
复制代码


如何修改回去:再提交一次空白的
作者: riwsh    时间: 2020-3-24 14:28
马克
作者: vagaa    时间: 2020-3-24 14:30
本帖最后由 vagaa 于 2020-3-24 14:34 编辑

强!!!我弄一下
不会放弃
作者: Function    时间: 2020-3-24 14:31
哇塞,我要试试哎
作者: h20    时间: 2020-3-24 14:35
提示: 作者被禁止或删除 内容自动屏蔽
作者: Archeb    时间: 2020-3-24 14:36
h20 发表于 2020-3-24 14:35
这是哪个番的背景图?

动态背景API,我也不知道你看到了哪张
iqdb.org 可以搜
作者: h20    时间: 2020-3-24 14:37
提示: 作者被禁止或删除 内容自动屏蔽
作者: Archeb    时间: 2020-3-24 14:39
h20 发表于 2020-3-24 14:37
这个思路不错,我也搞一个


敲碗等抄
作者: h20    时间: 2020-3-24 14:39
提示: 作者被禁止或删除 内容自动屏蔽
作者: bob1987    时间: 2020-3-24 14:40
提示: 作者被禁止或删除 内容自动屏蔽
作者: nico    时间: 2020-3-24 14:40
提示: 作者被禁止或删除 内容自动屏蔽
作者: yanyuo    时间: 2020-3-24 14:53
本帖最后由 yanyuo 于 2020-3-24 15:00 编辑

卧槽,,强强,赶紧试试


---不会。放弃
作者: laogui    时间: 2020-3-24 15:02
萝莉控?
作者: 肤白貌美天然呆    时间: 2020-3-24 15:03
给我也整一个.jpg
作者: chaigufan0    时间: 2020-3-24 15:05

哇塞,厉害厉害 zsbd
作者: wangjianjilei    时间: 2020-3-24 15:07
本帖最后由 wangjianjilei 于 2020-3-24 15:13 编辑

懂了
作者: 所長    时间: 2020-3-24 15:12
我也要搞233
  --< 我哪知道啊,紫薯布丁 >--
作者: dazeng    时间: 2020-3-24 15:16
还是喜欢向我的空间这样朴实无华的,呵呵~~
作者: 所長    时间: 2020-3-24 15:17
所長 发表于 2020-3-24 15:12
我也要搞233
  --< 我哪知道啊,紫薯布丁 >--

不会 放弃
作者: Archeb    时间: 2020-3-24 15:18
感谢 @高板惠乃果 的思路
CSS不断更新中
作者: abc1763613206    时间: 2020-3-24 15:36
战略性马克(
作者: 夕日    时间: 2020-3-24 15:37
还是我的空间最强
作者: Archeb    时间: 2020-3-24 15:40
夕日 发表于 2020-3-24 15:37
还是我的空间最强


作者: 好东东    时间: 2020-3-24 15:41
夕日 发表于 2020-3-24 15:37
还是我的空间最强

我顶你个肺嗷 一进去就是一路走好
作者: 不要搞我啊    时间: 2020-3-24 15:46
夕日 发表于 2020-3-24 15:37
还是我的空间最强

你的空间有毒
作者: weixiangnan    时间: 2020-3-24 15:54
vagaa 发表于 2020-3-24 14:30
强!!!我弄一下
不会放弃

vagaa忠实用户啊
作者: abc1763613206    时间: 2020-3-24 15:56

作者: Init    时间: 2020-3-24 15:57
绑定大佬....太强了
作者: Archeb    时间: 2020-3-24 15:58
abc1763613206 发表于 2020-3-24 15:56

不能含有 @、分号、引号
作者: dazeng    时间: 2020-3-24 16:04
夕日 发表于 2020-3-24 15:37
还是我的空间最强

日哦~~
作者: yinux    时间: 2020-3-24 16:04
这个背景API挺好看的夜
作者: skhtcxlo    时间: 2020-3-24 16:10
提示: 作者被禁止或删除 内容自动屏蔽
作者: tssz    时间: 2020-3-24 16:18
我就加了个美女背景图片。
作者: TvT    时间: 2020-3-24 16:19
秀呀大佬



紫薯布丁:
  不忘初心,努力前行


作者: TIMI    时间: 2020-3-24 16:28
提示: 作者被禁止或删除 内容自动屏蔽
作者: Ruclinux    时间: 2020-3-24 16:32
不懂保存,本地有效果
作者: 流星    时间: 2020-3-24 16:48
很赞,欢迎光临我的空间
作者: 我日人    时间: 2020-3-24 17:14
提示: 作者被禁止或删除 内容自动屏蔽
作者: Archeb    时间: 2020-3-24 17:33
本帖最后由 Archeb 于 2020-3-24 17:37 编辑


作者: Archeb    时间: 2020-3-24 19:56
自己顶一下
作者: 行尸走肉    时间: 2020-3-24 20:54
果断收藏
作者: robot    时间: 2020-3-24 20:55
我div完了,以后别人就看不到我的主题和回复了
作者: Archeb    时间: 2020-3-24 21:16
robot 发表于 2020-3-24 20:55
我div完了,以后别人就看不到我的主题和回复了

只需要一个F12 就....
作者: flyqie    时间: 2020-3-24 21:36
本帖最后由 flyqie 于 2020-3-24 21:56 编辑

感谢楼主,这是我的修改过的CSS~
  1. body:before {
  2.         content: close-quote;
  3.         width: 551px;
  4.         right: 10px;
  5.         top: 30px;
  6.         position: fixed;
  7.         background-size: cover;
  8.         background-position: center;
  9.         height: 200px
  10. }

  11. body {
  12.         background-image: url(https://api.ixiaowai.cn/api/api.php)!important;
  13.         background-color: #d5fbfe;
  14.         background-size: cover;
  15.         background-attachment: fixed;
  16.         background-position: center
  17. }

  18. #ct {
  19.         opacity: .8
  20. }

  21. #hd {
  22.         visibility: hidden
  23. }

  24. #ct:hover {
  25.         opacity: .9
  26. }

  27. #ct {
  28.         opacity: .7;
  29.         transition: opacity .5s;
  30.         border-radius: 7px;
  31.         box-shadow: 0 0 20px 6px rgba(0,0,0,.12),0 0 20px 6px rgba(0,0,0,.12)
  32. }

  33. #ft {
  34.         visibility: hidden
  35. }

  36. #pprl li {
  37.         padding: 3px 0 3px 0!important
  38. }

  39. #pprl {
  40.         height: 400px
  41. }

  42. #pprl em {
  43.         display: none
  44. }

  45. #pprl a {
  46.         font-size: 26px
  47. }

  48. .hm img {
  49.         border-radius: 50%;
  50.         margin-top: -110px;
  51.         box-shadow: 0 0 10px 6px rgba(0,0,0,.12);
  52.         padding: 2px;
  53.         background: #fff;
  54.         border: 1px solid;
  55.         border-color: #f2f2f2 #cdcdcd #cdcdcd #f2f2f2
  56. }

  57. div#frame1_left {
  58.         overflow: visible
  59. }

  60. .hm .mbn a {
  61.         visibility: hidden
  62. }

  63. #profile .blocktitle span {
  64.         display: none
  65. }

  66. #scrolltop {
  67.         display: none!important
  68. }

  69. #toptb {
  70.         display: none!important
  71. }

  72. .ct2 .sd {
  73.         overflow: visible
  74. }

  75. .xs2 {
  76.         visibility: hidden
  77. }

  78. #pprl:before {
  79.         content: close-quote;
  80.         width: 235px;
  81.         height: 35px;
  82.         display: block;
  83.         margin-left: -10px;
  84.         background-image: url(https://pic.imgdb.cn/item/5e7a0c1c9dbe9d88c50bd808.png)
  85. }

  86. #thread {
  87.         display: none
  88. }

  89. #pprl li {
  90.         display: none
  91. }
复制代码

作者: great999    时间: 2020-3-24 22:24
emmm,报错:Uncaught SyntaxError: Unexpected token '{'
作者: 秋上书    时间: 2020-3-24 22:26
手残 看你们搞就好了
作者: hostloccom    时间: 2020-3-24 23:51
谢谢大佬,随便弄了一下
作者: 嗷嗷    时间: 2020-3-24 23:58
厉害了
作者: hnless    时间: 2020-3-25 00:11
弄了一下,感觉良好,多谢大佬
作者: 雪丫鬟    时间: 2020-3-25 00:17
nico 发表于 2020-3-24 14:40
很强,我低仿了一个宝塔页面

神仙大佬,能分享你的css代码吗
作者: yonlee    时间: 2020-3-25 00:30
效果真棒!
作者: zhoumo310    时间: 2020-3-25 00:37
你的空间不怎么好看,不过你的头像牛逼
作者: 雪丫鬟    时间: 2020-3-25 00:42
Archeb 发表于 2020-3-24 15:58
不能含有 @、分号、引号

请问大佬。如果才能让空间空白,什么都不显示。

作者: zhoumo310    时间: 2020-3-25 00:45
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-image: url(https://api.ixiaowai.cn/api/api.php)!important;
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
}

#ct {
        opacity: 0.8;
}

#hd {
        visibility: hidden;
}

#ct:hover {
        opacity: 0.9;
}

#ct {
        opacity: 0.7;
        transition: opacity 0.5s;
        border-radius: 7px;
        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: 400px;
}

#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;
}

#toptb {
        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);
}

#pprl li:nth-child(2) {
        color: red;
        font-size: 24px;
}

#pprl li:nth-child(1) {
        display: none
}
作者: skhtcxlo    时间: 2020-3-25 01:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: 雪丫鬟    时间: 2020-3-25 01:22
robot 发表于 2020-3-24 20:55
我div完了,以后别人就看不到我的主题和回复了

求分享css代码
作者: robot    时间: 2020-3-25 08:20
雪丫鬟 发表于 2020-3-25 01:22
求分享css代码

body {background-attachment:scroll !important;}body {background-image:url(https://random.52ecy.cn/randbg.php)}div{display:none;}
作者: 雪丫鬟    时间: 2020-3-25 11:11
robot 发表于 2020-3-25 08:20
body {background-attachment:scroll !important;}body {background-image:url(https://random.52ecy.cn/ ...

好短的代码……感谢大佬
作者: laoxong    时间: 2020-3-25 11:23
h20 发表于 2020-3-24 14:35
这是哪个番的背景图?


点兔吧
动态的,草
作者: UOvZ    时间: 2020-3-25 11:26
123
作者: h20    时间: 2020-3-25 11:29
提示: 作者被禁止或删除 内容自动屏蔽
作者: 雪丫鬟    时间: 2020-3-25 11:31
robot 发表于 2020-3-25 08:20
body {background-attachment:scroll !important;}body {background-image:url(https://random.52ecy.cn/ ...

貌似想再取消,改不回去了……
作者: laoxong    时间: 2020-3-25 11:32



告辞
作者: laoxong    时间: 2020-3-25 11:33
h20 发表于 2020-3-25 11:29
你头像又是哪个番的?

绊恋
作者: h20    时间: 2020-3-25 11:35
提示: 作者被禁止或删除 内容自动屏蔽
作者: laoxong    时间: 2020-3-25 11:36
h20 发表于 2020-3-25 11:35
原来是galgame大佬


话说我咋搞不来这个东西,你搞好没
作者: canxunhulian    时间: 2020-3-25 11:37
6666666666666666666666
作者: robot    时间: 2020-3-25 11:40
雪丫鬟 发表于 2020-3-25 11:31
貌似想再取消,改不回去了……

能改回去。
再运行一次代码,输入# 回车。

后面自己在空间里恢复成默认

你再看我的,已经回去了
作者: h20    时间: 2020-3-25 11:40
提示: 作者被禁止或删除 内容自动屏蔽
作者: 雪丫鬟    时间: 2020-3-25 11:43
robot 发表于 2020-3-25 11:40
能改回去。
再运行一次代码,输入# 回车。

大佬就是不一样
作者: Archeb    时间: 2020-3-25 12:12
laoxong 发表于 2020-3-25 11:32
告辞

我确认了一下,我丢到pastebin的代码是没问题的
可能你复制没复制全,Ctrl+A全选RAW Paste Data里的代码,然后直接复制到console回车

作者: FreeDog    时间: 2020-3-25 12:14
整一个给我.jpg
作者: dxdeng    时间: 2020-3-25 12:16
好**啊!
作者: 东西的冬    时间: 2020-3-25 12:34
本帖最后由 东西的冬 于 2020-3-25 12:36 编辑

感谢楼主
作者: injy    时间: 2020-3-25 12:35
本帖最后由 injy 于 2020-3-25 12:37 编辑


作者: injy    时间: 2020-3-25 12:41
injy 发表于 2020-3-25 12:35

不明觉了厉。。。
作者: chr    时间: 2020-3-25 12:51
大佬,厉害了
作者: laoxong    时间: 2020-3-25 12:54
Archeb 发表于 2020-3-25 12:12
我确认了一下,我丢到pastebin的代码是没问题的
可能你复制没复制全,Ctrl+A全选RAW Paste Data里的代码 ...

https://pastebin.com/SCZFHrA5
不行
作者: Archeb    时间: 2020-3-25 13:00
laoxong 发表于 2020-3-25 12:54
https://pastebin.com/SCZFHrA5
不行

草...不是让你用我的css替换“请输入你需要的CSS”这段字
是让你直接复制代码执行,然后他会弹出一个框,你再把css输入进那个框里面
作者: laoxong    时间: 2020-3-25 13:06
Archeb 发表于 2020-3-25 13:00
草...不是让你用我的css替换“请输入你需要的CSS”这段字
是让你直接复制代码执行,然后他会弹出一个框, ...


作者: edgeNAT    时间: 2020-3-25 13:11
很6

作者: 七夏浅笑    时间: 2020-3-25 15:11
本帖最后由 七夏浅笑 于 2020-3-25 15:12 编辑

成功了,好棒诶,第一次在论坛上折腾这么久



顺便发下我的 css 吧

  1. body:before {
  2.         content: close-quote;
  3.         width: 551px;
  4.         right: 10px;
  5.         top: 30px;
  6.         position: fixed;
  7.         background: center,url();
  8.         background-size: cover;
  9.         background-position: center;
  10.         height: 200px;
  11. }

  12. body {
  13.         background-image: url(https://ae01.alicdn.com/kf/U8ec4ce63894342dc88f9a3bb889d1b58Z.jpg)!important;
  14.         background-size: cover;
  15.         background-attachment: fixed;
  16.         background-position: center;
  17. }

  18. #ct, .n, .w {
  19.     background: #FFF url(https://ae01.alicdn.com/kf/U65726785d892408398eb18e7c1f0e6d6N.png) repeat-x 0 0 !important;
  20. }

  21. #hd {
  22.         visibility: hidden;
  23. }

  24. #ct {
  25.         opacity: 0.9;
  26.         border-radius: 7px;
  27.         box-shadow: 0px 0px 20px 6px rgba(0,0,0,0.12),0px 0px 20px 6px rgba(0,0,0,0.12);
  28. }


  29. #ft {
  30.         visibility: hidden;
  31. }




  32. #pprl a {
  33.         font-size: 26px
  34. }

  35. .hm img {
  36.         border-radius: 50%;
  37.         margin-top: -110px;
  38.         box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.12);
  39.         padding: 2px;
  40.         background: #FFF;
  41.         border: 1px solid;
  42.         border-color: #F2F2F2 #CDCDCD #CDCDCD #F2F2F2;
  43. }

  44. div#frame1_left {
  45.         overflow: visible;
  46. }

  47. .hm .mbn a {
  48.         visibility: hidden;
  49. }

  50. #profile .blocktitle span {
  51.         display: none;
  52. }

  53. #scrolltop {
  54.         display: none!important;
  55. }

  56. #toptb {
  57.         display: none!important;
  58. }

  59. .ct2 .sd {
  60.         overflow: visible;
  61. }

  62. .xs2 {
  63.         visibility: hidden;
  64. }

  65. ::-webkit-scrollbar {
  66.     background-color: #fec9c9;
  67.     width: 10px;
  68.     height: 10px;
  69.     background-clip: padding-box;
  70. }

  71. ::-webkit-scrollbar-button {
  72.     display: none
  73. }

  74. ::-webkit-scrollbar-thumb {
  75.     background-color: #fe4365;
  76.     border-radius: 5px;
  77.     background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent)
  78. }

  79. ::-webkit-scrollbar-corner {
  80.     background-color: #fe4365
  81. }
复制代码

作者: uricc    时间: 2020-3-25 15:18
为啥一股二次元风
作者: ilucky4    时间: 2020-3-25 15:20
提示: 作者被禁止或删除 内容自动屏蔽
作者: 不要搞我啊    时间: 2020-3-25 15:43
终于可以了
作者: Archeb    时间: 2020-3-25 15:47
七夏浅笑 发表于 2020-3-25 15:11
成功了,好棒诶,第一次在论坛上折腾这么久

这个可以有(赞赏
我也来改一下scrollbar
作者: Archeb    时间: 2020-3-25 15:58
七夏浅笑 发表于 2020-3-25 15:11
成功了,好棒诶,第一次在论坛上折腾这么久

提供一个完美的透明滚动条方案
  1. html{
  2.     overflow: hidden;
  3. }
  4. body{
  5.     overflow: scroll;
  6.     height: 100vh;
  7.     overflow-x:hidden;
  8. }
  9. ::-webkit-scrollbar {
  10.   width: 12px;
  11.   background-color: transparent;
  12. }
  13. ::-webkit-scrollbar-thumb {
  14.   border-radius:12px;
  15.   background-color: rgba(0, 0, 0, 0.2);
  16.   width
  17.   transition: all 0.3s;
  18. }
  19. ::-webkit-scrollbar-thumb:hover {
  20.   background-color: rgba(0, 0, 0, 0.4);
  21. }
  22. ::-webkit-scrollbar-thumb:active {
  23.   background-color: rgba(0, 0, 0, 0.5);
  24. }

  25. .gol{
  26.     display:none;
  27. }
复制代码

作者: Archeb    时间: 2020-3-25 16:31
DYD
作者: skhtcxlo    时间: 2020-3-25 17:36
提示: 作者被禁止或删除 内容自动屏蔽
作者: 么得搞头    时间: 2020-3-25 17:46
很多年前 我也经常折腾自己的论坛空间。。。
作者: huhu    时间: 2020-3-25 21:52
在别的论坛试了一下 只是排版变了 别的没生效 bbs.kafan.cn
作者: 风影OvO    时间: 2020-3-26 09:41
dazeng 发表于 2020-3-24 15:16
还是喜欢向我的空间这样朴实无华的,呵呵~~

大佬看看我的  更朴实无华
作者: OPlin    时间: 2020-3-26 09:42
好东西,我也拿来改改
作者: 纳米科技    时间: 2020-3-26 09:43
这就是大佬吗  i了i了
作者: OPlin    时间: 2020-3-26 09:55
支持大佬
作者: XianD    时间: 2020-3-26 09:58
康康我的鸭~
作者: 她掏出我想掏的    时间: 2020-3-26 10:11
可以可以  真的很漂亮  适合女孩子
作者: Wandering...    时间: 2020-3-26 10:50
拿走了
作者: hostlocs    时间: 2020-3-26 15:37
谢谢大佬分享~
作者: Archeb    时间: 2020-3-26 19:11
huhu 发表于 2020-3-25 21:52
在别的论坛试了一下 只是排版变了 别的没生效 bbs.kafan.cn

卡饭我也试了下,确实不行,过滤了




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4