user profile image

You can see the rest of my 1 range input sliders in this collection.

Goal: create a nicely styled cross-browser 1 element slider. Tested & works in Firefox 35, 38 (nightly), Chrome 40, 42 (canary)/ Opera 28, IE 11 on Windows 8. IE doesn't need the JS, Firefox and Chrome/ Opera rely on it a bit for styling the range track. Chrome/ Opera have a bit of an extra, the tooltip over the thumb. This is done using /deep/ - careful, experimental stuff, the spec has already changed, uncertain future in Chrome (link #1, link #2). Fallback for no JS: simply display the same background for the entire track, both before and after the thumb and no tooltip. IE also displays a tooltip, but I can't style that sucker, only responds to display and visibility.

Disclaimer because some people got the wrong idea: I did NOT design these sliders. Whoever knows me is probably aware of the fact that I'm 100% technical and 0% artistic. Me trying to design something would result in visual vomit. I just googled "slider design" and tried to reproduce (as well as I could) the images that search found. Inspiration for this demo:



  1. No comments yet.

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

You must be logged in to comment.