This repository was archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from SleepyLGod/dev-page-fix
- Loading branch information
Showing
12 changed files
with
1,128 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
input[type=range] { | ||
-webkit-appearance: none; | ||
width: 150px; | ||
border-radius: 10px; | ||
/*这个属性设置使填充进度条时的图形为圆角*/ | ||
} | ||
|
||
input[type=range]::-webkit-slider-thumb { | ||
-webkit-appearance: none; | ||
} | ||
|
||
input[type=range]::-webkit-slider-runnable-track { | ||
height: 10px; | ||
border-radius: 10px; | ||
/*将轨道设为圆角的*/ | ||
box-shadow: 0 1px 1px #def3f8, inset 0 .125em .125em #0d1112; | ||
/*轨道内置阴影效果*/ | ||
} | ||
|
||
input[type=range]:focus { | ||
outline: none; | ||
} | ||
|
||
input[type=range]::-webkit-slider-thumb { | ||
-webkit-appearance: none; | ||
height: 20px; | ||
width: 20px; | ||
margin-top: -5px; | ||
/*使滑块超出轨道部分的偏移量相等*/ | ||
background: #ffffff; | ||
border-radius: 50%; | ||
/*外观设置为圆形*/ | ||
border: solid 0.125em rgba(205, 224, 230, 0.5); | ||
/*设置边框*/ | ||
box-shadow: 0 .125em .125em #3b4547; | ||
/*添加底部阴影*/ | ||
} |
Oops, something went wrong.