CSS Range Slider Generator

Home/Tools/Range Slider Generator

Create beautifully styled HTML range inputs with custom thumb, track, and focus ring styles.

No sign-up neededRuns in your browserProduction-ready CSS

Thumb

20px
50%

Track

6px
99px

Preview

Generated CSS
input[type="range"].styled-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}

/* Thumb — Chrome/Safari */
input[type="range"].styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #0071e3;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s ease;
}

/* Thumb — Firefox */
input[type="range"].styled-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #0071e3;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Focus ring */
input[type="range"].styled-slider:focus {
  box-shadow: 0 0 0 4px #93c5fd66;
}