<!DOCTYPE html>
<html>
<head>
  <title>Create Custom Input Range Pure Css3</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

  <div class='range'>
    <input type="range" min='0' max='100' step='1' />
    <span>50%</span>
  </div>


  <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"
  integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30="
  crossorigin="anonymous"></script>

  <script type="text/javascript">

    $(function(){

    $('.range input').on('mousemove', function(){
      var getValRange = $(this).val();
      $('.range span').text(getValRange + '%');
    });


    });


  </script>






</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*, html,body{
  padding:0px;
  margin:0px;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
  perspective:800px;
}
body{
  background-color:#eb3b5a;
  width:100%;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}
.range input{
  -webkit-appearance:none;
  width:400px;
  height:4px;
  border-radius:5px;
  background-color:#ba3950;
  outline:none;
}
.range input::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:20px;
  height:20px;
  border-radius:50%;
  background-color:#a83348;
}
.range span{
  position:absolute;
  margin-left:14px;
  width:50px;
  height:30px;
  background-color:#222;
  color:#fff;
  border-radius:3px;
  text-align:center;
  line-height:30px;
}
.range span:before{
  content:'';
  position:absolute;
  border-right:9px solid transparent;
  border-left:9px solid transparent;
  border-bottom:12px solid #222;
  left:-10px;
  top:50%;
  transform:translateY(-50%) rotate(-90deg);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.