Styling the p5 slider?

Hi there - Is there any way to style the slider element? Or is size() really the only adjustment possible? I'm thinking like adding tickmarks, labels, thicker track width, shape of thumb, thumb image, etc. So as to create something like you might find if you google image search for "css slider bar."

Or best to use an external JS library?

thx

Answers

  • edited September 2015 Answer ✓

    Ah, answering my own question - guess it's a case of applying styles. Found this which was useful: http://danielstern.ca/range.css/?ref=css-tricks. Wow, that's a lot of code to get a slightly different slider look. Note that you have to turn off "overflow: hidden" to get some styles to show.

Sign In or Register to comment.