cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

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.

            
              <div class='wrap'>
	<input type='range'/>
</div>
<p>Fruitcake tiramisu sesame snaps toffee apple pie pastry caramels brownie. Dragée caramels carrot cake icing marshmallow sweet roll marshmallow toffee icing. Caramels fruitcake tiramisu danish caramels biscuit dessert. Liquorice cake cheesecake jelly dessert marshmallow croissant sweet brownie.</p>
<p>Tiramisu icing topping ice cream cupcake toffee fruitcake marzipan. Pie bear claw chocolate chocolate cake jelly beans soufflé candy canes jujubes. Ice cream cake pudding macaroon bonbon oat cake jujubes. Ice cream chocolate danish cake.</p>
<p>Donut sweet roll jelly beans chocolate cake. Tootsie roll marshmallow liquorice chocolate. Tiramisu pie oat cake caramels soufflé marshmallow cake. Brownie donut halvah.</p>
<p>Jelly-o candy halvah tootsie roll liquorice pastry jelly beans sugar plum. Dessert halvah tiramisu gummies jelly beans candy canes. Marshmallow tiramisu cheesecake caramels ice cream caramels. Cheesecake tootsie roll chocolate cake halvah tiramisu candy muffin.</p>
<p>Wafer donut chocolate cake. Topping bonbon wafer jelly beans gummi bears gingerbread cake. Tiramisu powder jelly beans gummies carrot cake pastry candy cake.</p>
<p>Fruitcake tiramisu sesame snaps toffee apple pie pastry caramels brownie. Dragée caramels carrot cake icing marshmallow sweet roll marshmallow toffee icing. Caramels fruitcake tiramisu danish caramels biscuit dessert. Liquorice cake cheesecake jelly dessert marshmallow croissant sweet brownie.</p>
<p>Tiramisu icing topping ice cream cupcake toffee fruitcake marzipan. Pie bear claw chocolate chocolate cake jelly beans soufflé candy canes jujubes. Ice cream cake pudding macaroon bonbon oat cake jujubes. Ice cream chocolate danish cake.</p>
<p>Donut sweet roll jelly beans chocolate cake. Tootsie roll marshmallow liquorice chocolate. Tiramisu pie oat cake caramels soufflé marshmallow cake. Brownie donut halvah.</p>
<p>Jelly-o candy halvah tootsie roll liquorice pastry jelly beans sugar plum. Dessert halvah tiramisu gummies jelly beans candy canes. Marshmallow tiramisu cheesecake caramels ice cream caramels. Cheesecake tootsie roll chocolate cake halvah tiramisu candy muffin.</p>
<p>Wafer donut chocolate cake. Topping bonbon wafer jelly beans gummi bears gingerbread cake. Tiramisu powder jelly beans gummies carrot cake pastry candy cake.</p>
            
          
!
            
              $track-w: 12.5em;
$track-h: .25em;
$thumb-d: 1.5em;

@mixin track() {
	box-sizing: border-box;
	border: none;
	width: $track-w; height: $track-h;
	background: #ccc;
}

@mixin thumb() {
	box-sizing: border-box;
	border: none;
	width: $thumb-d; height: $thumb-d;
	border-radius: 50%;
	background: #f90;
}

.wrap {
	float: left;
	position: relative;
	margin: 0 .5em .5em;
	padding: .5em;
	height: $track-w; width: $thumb-d;
}

[type='range'] {
	&, &::-webkit-slider-thumb {
		-webkit-appearance: none;
	}
	
	position: absolute;
	top: 50%; left: 50%;
	margin: 0;
	padding: 0;
	width: $track-w; height: $thumb-d;
	transform: translate(-50%, -50%) 
		rotate(-90deg);
	background: transparent;
	font: 1em/1 arial, sans-serif;
	
	&::-webkit-slider-runnable-track {
		@include track
	}
	&::-moz-range-track { @include track }
	&::-ms-track { @include track }
	
	&::-webkit-slider-thumb {
		margin-top: .5*($track-h - $thumb-d);
		@include thumb
	}
	&::-moz-range-thumb { @include thumb }
	&::-ms-thumb {
		margin-top: 0;
		@include thumb
	}
	
	&::-ms-tooltip { display: none }
}
            
          
!
999px
Loading ..................

Console