.slider-label {
  background-color: #F2C500;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  padding: 5px 12px;
  text-align: center;
  width: 28px;
}
.slider-label::after {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 100px solid red;
}
input[type=range] {
  -webkit-appearance: none;
  /* Hides the slider so that custom slider can be made */
  width: 100%;
  /* Specific width is required for Firefox. */
  background: transparent;
  /* Otherwise white in Chrome */
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
  /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}
input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;
  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 5px solid #C4C4C4;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: #7D7D7D;
  cursor: pointer;
  margin-top: -6px;
}
input[type=range]::-webkit-slider-runnable-track {
  background-color: #F2C500;
  height: 8px;
}
.slider {
  background-color: blue;
  padding: 0;
  width: 100%;
}
