<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Slider</title>
</head>

<body>
  <div id="wrapper">
    <h1 id="title">Slider</h1>
    <input type="range" min="1" max="100" value="50">
  </div>
</body>

</html>
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  padding: 0;
  margin: 0 ;
  box-sizing: border: box;
}

body {
  background-image: linear-gradient(to right, #f78ca0 0%, #f9748f 19%, #fd868c 60%, #fe9a8b 100%);
  height: 100vh;
  display: grid;
 justify-content: center;
  align-content: center;
  grid-template-columns: minmax(150px, 440px);
  font-family: 'Montserrat', sans-serif;
}

#wrapper {
  text-align: center;
  padding: 20px;
}

#title {
  margin-bottom: 20px;
}

input {
  width: 100%;
  border-radius: 30px;
}

input[type="range"] {
 -webkit-appearance: none;
  
}

input[type="range"]::-webkit-slider-runnable-track {
 background: white;
 height: 10px;
  border-radius: 50%;
}

input[type="range"]::-moz-range-track {
 background: tomato;
 height: 10px;
  border-radius: 50%;
}

input[type="range"]::-webkit-slider-thumb {
 -webkit-appearance: none;
 height: 35px;
 width: 35px;
 background: pink;
 margin-top: -12px;
 border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
 height: 35px;
 width: 35px;
 background: pink;
 margin-top: -10px;
 border-radius: 50%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.