<h1>styled ranged slider</h1>
  
  <input type="range" min="1" max="100" value="50" class="slider" id="myRange">
body {
  background: #000;
  margin: 100px auto;
  text-align: center;
}

h1 {
  color: #fff;
  margin-bottom: 60px;
  font-family: helvetica;
  font-size: 56px;
  font-style: italic;
  letter-spacing: 2px;
}

.slider {
  -webkit-appearance: none;
  width: 50%;
  height: 15px;
  background: #000;
  outline: none;
  border: 5px solid lawngreen;
  border-radius: 8px;
}


/* for chrome/safari */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 60px;
  background: #000;
  cursor: pointer;
  border: 5px solid lawngreen;
  border-radius: 4px;
}

/* for firefox */
.slider::-moz-range-thumb {
  width: 20px;
  height: 60px;
  background: #000;
  cursor: pointer;
  border: 5px solid lawngreen;
  border-radius: 4px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.