cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Based on a Dribbble by Stan Yakusevich. Drag the range thumb to see the effect.

Works best on Chrome (desktop and mobile), and Safari on iPad (oddly enough). Works decently in Firefox, but only because I added a fallback. Click the switch to reveal the real HTML5 range input.

Comments

  1. I'd love to see it change it's zoom "in" effect based on the position of the slider. I expected it visually to start coming from the left as I moved the slider in the direction. Nice pen!

  2. Peter Wise @squarecandy-1472176736 on

    Nicely done. Very cool concept! I noticed that the on/off slider only works when you click on the circle part. Some people might try and "swipe", lifting their mouse up on the non-button part. Some people might try and click on the "on" or "off" label.

  3. Oh neat. Perfect combination of opacity + scale and gradient animating.

  4. This is very great and brilliant information. mesothelioma treatment technology

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...
Loading...