.demo{ background-color: #e7e7e7; }
.range-slider{
background: #fff;
padding: 30px 15px 0;
margin: 20px 0 0 0;
border-radius: 35px 0;
}
.range-slider input[type="range"]{
background: #e84118;
width: calc(100% - (78px));
height: 6px;
outline: none;
float: left;
-webkit-appearance: none;
position: relative;
}
.range-slider input[type="range"]::-webkit-slider-thumb{
background-color: #192a56;
width: 20px;
height: 20px;
border-radius: 0;
outline: 2px solid #fff;
outline-offset: -5px;
cursor: pointer;
transition: all 0.15s ease-in-out 0s;
-webkit-appearance: none;
appearance: none;
}
.range-slider input[type="range"]::-webkit-slider-thumb:hover,
.range-slider input[type="range"]:active::-webkit-slider-thumb{
box-shadow: 0 0 10px #192a56;
transform: rotate(135deg);
}
.range-slider input[type="range"]::-moz-range-thumb{
background-color: #192a56;
width: 20px;
height: 20px;
cursor: pointer;
border-radius: 0;
border: none;
outline: 2px solid #fff;
outline-offset: -5px;
transition: all 0.15s ease-in-out 0s;
}
.range-slider input[type="range"]::-moz-range-thumb:hover,
.range-slider input[type="range"]:active::-moz-range-thumb{
box-shadow: 0 0 6px #192a56;
transform: rotate(135deg);
}
.range-slider .range-value{
color: #fff;
background: #192a56;
font-size: 18px;
font-weight: 600;
text-align: center;
line-height: 35px;
width: 70px;
height: 35px;
padding-left: 5px;
margin-left: 8px;
display: inline-block;
position: relative;
top: -15px;
-webkit-clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}
::-moz-range-track{
background: transparent;
border: 0;
}