100-project-100-days-website/100_projects/77-control-brightness/style.css
2023-05-09 18:08:14 +03:00
Ask

42 lines
761 B
CSS

{47d3e57260ed6eb83347b1d7bc0e4b753e9c7929 true 761 style.css 0xc002e3b490}

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
background: url(bg.jpg) no-repeat center;
height: 100vh;
background-size: cover;
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;
}