<input type="number" min="1" max="20" value="7">
input:in-range {
  background:red;
  color:white;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.