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

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

技术教程 Super Paxxs 110355次浏览 已收录 20个评论
目录
[隐藏]

效果:

自定义浏览器滚动条-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,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(20)个小伙伴在吐槽
  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. 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 回复
  6. 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 回复
  7. I truly enjoy reading through on this website , it has good blog posts. "Do what you fear, and the death of fear is certain." by Anthony Robbins.
  8. Consult your tax obligation consultant to find out more relating to the tax obligation deductible benefits of a residence equity credit line.
    mortgage2015-11-11 15:15 回复
  9. Watch the one from Greater london Many of them are from England and there is actually one from New York City.
    Erik2015-11-05 12:42 回复
12