当前位置:网站首页>设置滚动条默认样式 谷歌浏览器
设置滚动条默认样式 谷歌浏览器
2022-07-02 04:58:00 【厚渡】
滚动条的默认样式是比较丑的,一般我们会重新设置下。
具体设置如下
// 滚动条样式 ::-webkit-scrollbar {
width: 5px; //这是竖向滚动条的宽度。如果是横向滚动条则设置height
}
::-webkit-scrollbar-thumb {
border-radius: 2.5px;
// 设置滚动条滑块样式
background: #d25565 !important;
}
::-webkit-scrollbar-track {
// 设置滚动轨道的样式
background: #2e94b9 !important;
border-radius: 2.5px;
}
边栏推荐
- Mapping location after kotlin confusion
- Oracle和MySQL的基本区别(入门级)
- C# 图片显示占用问题
- Practical problem solving ability of steam Education
- Pit encountered in win11 pytorch GPU installation
- MMAP zero copy knowledge point notes
- LeetCode-归并排序链表
- JS interview collection test question 1
- Simple and practical accounting software, so that accounts can be checked
- Record the bug of unity 2020.3.31f1 once
猜你喜欢

Interview question: do you know the difference between deep copy and shallow copy? What is a reference copy?

06 decorator mode

Starting from the classification of database, I understand the map database

Line by line explanation of yolox source code of anchor free series network (7) -- obj in head_ loss、Cls_ Loss and reg_ Calculation and reverse transmission of loss I

数学知识(欧拉函数)

Its appearance makes competitors tremble. Interpretation of Sony vision-s 02 products

Precipitate yourself and stay up late to sort out 100 knowledge points of interface testing professional literacy

奠定少儿编程成为基础学科的原理

Cultivate primary and secondary school students' love for educational robots

Analyze the space occupied by the table according to segments, clusters and pages
随机推荐
Video cover image setting, put cover images into multiple videos in the simplest way
Getting started with pytest -- description of fixture parameters
Application of intelligent robot in agricultural ecology
Online incremental migration of DM database
UNET deployment based on deepstream
idea自動導包和自動删包設置
记录一次Unity 2020.3.31f1的bug
解决:代理抛出异常错误
Virtual machine installation deepin system
MySQL table insert Chinese change? Solution to the problem of No
C - derived classes and constructors
Rhcsa --- work on the third day
Embedded-c language-9-makefile/ structure / Consortium
Mathematical problems (number theory) trial division to judge prime numbers, decompose prime factors, and screen prime numbers
Pytest learning ----- pytest assertion of interface automation testing
Steam教育的实际问题解决能力
[common error] the DDR type of FPGA device is selected incorrectly
Learn AI safety monitoring project from zero [attach detailed code]
JS interview collection test question 1
正大留4的主账户信息汇总