• 作者:SuperPaxxs扶摇直上九万里,绝云气,负青天,不知图哪了,正在努力搜索中..
    • 请在Chrome、Firefox等现代浏览器浏览本站。 有事 点击这里 联系博主
    • 想在魔帆博客投稿? 点击这里 联系博主
    • [ 既然来了就多看两篇文章嘛,你好意思走么? ]
    • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏魔帆博客吧

自定义浏览器滚动条-WordPress美化

目录
[隐藏]

效果:

自定义浏览器滚动条-WordPress美化
在谷歌浏览器可以看到

代码:

将以下代码copy至style.css即可。

/*—滚动条默认显示样式–*/
::-webkit-scrollbar-thumb{
background-color:#018EE8;
height:50px;
outline-offset:-2px;
outline:2px solid #fff;
-webkit-border-radius:4px;
border: 2px solid #fff;
}

/*—鼠标点击滚动条显示样式–*/
::-webkit-scrollbar-thumb:hover{
background-color:#FB4446;
height:50px;
-webkit-border-radius:4px;
}

/*—滚动条大小–*/
::-webkit-scrollbar{
width:8px;
height:18px;
}

/*—滚动框背景样式–*/
::-webkit-scrollbar-track-piece{
background-color:#fff;
-webkit-border-radius:0;
}

魔帆博客 , 版权所有丨如未注明 , 均为原创丨本网站均采用BY-NC-SA协议进行授权 , 转载请注明自定义浏览器滚动条-WordPress美化
喜欢 (36)
[]
分享 (0)
Super Paxxs
关于作者:
一只初中狗,对网站建设和编程非常感兴趣。
发表我的评论
取消评论
表情 加粗 删除线 居中 斜体

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(29)个小伙伴在吐槽
  1. 很好,喜欢
    Ivan2017-03-05 13:31 回复
  2. 麦卡沃伊的经纪人
    是的
    麦卡沃伊的经纪人2017-01-02 17:27 回复
  3. 热锅
    巴拉巴拉
    热锅2017-01-02 17:17 回复
  4. Hello. And Bye.
    XRumerTest2016-01-11 21:55 回复
  5. Superb, what a web site it is! This website presents valuable facts to us, keep it up.
    ray ban wayfarer sunglasses rb2132-42015-12-29 23:09 回复
  6. Today, while I was at work, my cousin stole my iphone and tested to see if it can survive a 30 foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is entirely off topic but I had to share it with someone!
    moncler london bond street2015-12-16 22:39 回复
  7. Hello, I enjoy reading through your article. I like to write a little comment to support you.
    moncler coats sale womens leather2015-12-16 22:38 回复
  8. Good day! This post couldn't be written any better! Reading this post reminds me of my previous room mate! He always kept talking about this. I will forward this write-up to him. Fairly certain he will have a good read. Thank you for sharing!
    botas ugg kit de limpieza zaragoza2015-12-16 21:41 回复
  9. Woah! I'm really digging the template/theme of this website. It's simple, yet effective. A lot of times it's tough to get that "perfect balance" between user friendliness and visual appeal. I must say you have done a superb job with this. Also, the blog loads very quick for me on Chrome. Exceptional Blog!
    nike sneakers free2015-12-16 21:41 回复
1 2 3