Styling an input range slider with pure CSS. JS only to grab the value.
A Pen by Sean Stopnik on CodePen.
<div class="container"> | |
<div class="row"> | |
Date formats: yyyy-mm-dd, yyyymmdd, dd-mm-yyyy, dd/mm/yyyy, ddmmyyyyy | |
</div> | |
<br /> | |
<div class="row"> | |
<div class='col-sm-3'> | |
<div class="form-group"> | |
<div class='input-group date' id='datetimepicker1'> | |
<input type='text' class="form-control" /> |
<div class="container"> | |
<input type="range"/> | |
<output data-output></output> | |
</div> |
Styling an input range slider with pure CSS. JS only to grab the value.
A Pen by Sean Stopnik on CodePen.
<main> | |
<form oninput="output.value = Math.round(range.valueAsNumber / 1000)"> | |
<h2> | |
Range slider | |
</h2> | |
<div class="range"> | |
<input name="range" type="range" min="0" max="100000"> | |
<div class="range-output"> | |
<output class="output" name="output" for="range"> | |
50 |
<html lang="en-US"> | |
<title>Simple Range Input Slider With Output</title> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Quantico' rel='stylesheet' type='text/css'> | |
</head> | |
<div class="container"> |
<div class="main"> | |
<div class="slideContainer"> | |
<label>Value: <span id="value"></span></label> | |
<input type="range" min="0" max="100" value="1" class="slider" id="myRange"> | |
</div> | |
</div> |
.card | |
.card-play | |
.card-video | |
iframe#video(src="https://www.youtube.com/embed/JE9z-gy4De4?enablejsapi=1&html5=1&iv_load_policy=3&rel=0&showinfo=0", frameborder="0", allowfullscreen) |
<div class="tabs"> | |
<ul> | |
<li><a href="#section1">Section 1</a></li> | |
<li><a href="#section2">Section 2</a></li> | |
<li><a href="#section3">Section 3</a></li> | |
<li><a href="#section4">Section 4</a></li> | |
<li><a href="#section5">Section 5</a></li> | |
</ul> | |
<section id="section1"> | |
<h2>Section 1</h2> |
<div class="wrapper"> | |
<div class="container"> | |
<div id="narrow-browser-alert" class="alert alert-info text-center"> | |
<strong>Heads up!</strong> <br>Narrow your browser!</div> | |
<div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs"> | |
<ul id="myTab" class="nav nav-tabs nav-tabs-responsive" role="tablist"> | |
<li role="presentation" class="active"> | |
<a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true"> |