cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <html lang="en-US">

<title>Simple Range Input Slider With Output</title>

  <link href='https://fonts.googleapis.com/css?family=Quantico' rel='stylesheet' type='text/css'>

<div class="container">
  <div class="slider">
  <input type = "range" min="0" max="100" onchange="rangevalue.value=value"/>
	<output id="rangevalue">50</output>
              @import compass

$green: #A3CD99
$darkgreen: #579E81

    color: lighten($green, 25%)

  display: flex
  width: 500px
  height: 500px
  margin: auto
  text-alignt: center
  width: 100%
  margin: 50% auto

  -webkit-appearance: none !important /*Needed to reset default slider styles */
  width: 100%
  height: 15px
    color: $green
  border: 1px solid darken($green, 4%)
    radius: 10px
  margin: auto
  transition: all 0.3s ease

    background-color: lighten($green, 5%)
  &:active + #rangevalue /*Here to do something to the value while moving the slider */

  -webkit-appearance: none !important  
  width: 20px
  height: 20px
    color: $darkgreen
    radius: 30px
  box-shadow: 0px 0px 3px darken($darkgreen, 15%)
  transition: all 0.5s ease

      color: darken($darkgreen, 10%)  
    box-shadow: 0px 0px 1px darken($darkgreen, 15%)

  text-align: center
    family: 'Quantico', sans-serif
    size: 18px
  display: block
  margin: auto
  padding: 10px 0px 
  width: 100%
  color: $darkgreen 


Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................