[html4strict] Range Slider for Tasks Progress
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!--CSS code below-->
- <style>
- .slidecontainer {
- width: 100%;
- }
- .slider {
- -webkit-appearance: none;
- width: 50%;
- height: 15px;
- border-radius: 5px;
- background: #d3d3d3;
- outline: none;
- opacity: 0.7;
- -webkit-transition: .2s;
- transition: opacity .2s;
- }
- .slider::-webkit-slider-thumb {
- -webkit-appearance: none;
- appearance: none;
- width: 25px;
- height: 25px;
- border-radius: 50%;
- background: #04AA6D;
- cursor: pointer;
- }
- .slider::-moz-range-thumb {
- width: 25px;
- height: 25px;
- border-radius: 50%;
- background: #04AA6D;
- cursor: pointer;
- }
- </style>
- <!--End of CSS code -->
- </head>
- <body>
- <h1>Range Slider for Tasks Progress</h1>
- <div class="slidecontainer">
- <input type="range" min="0" max="100" value="0" class="slider" id="myRange">
- <p>Value: <span id="demo"></span></p>
- </div>
- <!--Java Scripts code below-->
- <script>
- var slider = document.getElementById("myRange");
- var output = document.getElementById("demo");
- output.innerHTML = slider.value;
- slider.oninput = function() {
- output.innerHTML = this.value;
- }
- </script>
- <!--End of Java Scripts code below-->
- </body>
- </html>
Editor
You can edit this paste and save as new: