44 lines
807 B
CSS
44 lines
807 B
CSS
|
*{
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
.container{
|
||
|
background: url(bg.jpg) no-repeat center;
|
||
|
min-height: 100vh;
|
||
|
width: 100%;
|
||
|
background-size: cover;
|
||
|
background-position: center;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
.brightness-box{
|
||
|
width: 400px;
|
||
|
height: 60px;
|
||
|
background: #f9f9f9;
|
||
|
border-radius: 8px;
|
||
|
padding: 0 20px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
.brightness-box i{
|
||
|
margin: 0 10px;
|
||
|
}
|
||
|
#range{
|
||
|
width: 100%;
|
||
|
-webkit-appearance: none;
|
||
|
background: #0a85ff;
|
||
|
height: 3px;
|
||
|
outline: none;
|
||
|
}
|
||
|
#range::-webkit-slider-thumb{
|
||
|
-webkit-appearance: none;
|
||
|
width: 22px;
|
||
|
height: 22px;
|
||
|
background: #333;
|
||
|
border-radius: 50%;
|
||
|
cursor: pointer;
|
||
|
}
|