CSS Styling the Slider Control

Discussion in 'C-Bus Automation Controllers' started by pspeirs, May 20, 2019.

  1. pspeirs

    pspeirs

    Joined:
    Nov 23, 2013
    Messages:
    123
    Likes Received:
    4
    Location:
    Sydney
    Hey All,

    I need a percentage type bar graph where for 25%, the first 25% would be one colour and the right side (75%) would show as another colour. Alternatively to have a green image for example of 200px wide and overlay a blue image 50px wide to simulate 25%. I would need to somehow need to be able to control the width which is why I thought a styled slider might work.

    basically something that looks like . . .
     
    pspeirs, May 20, 2019
    #1
    1. Advertisements

  2. pspeirs

    pspeirs

    Joined:
    Nov 23, 2013
    Messages:
    123
    Likes Received:
    4
    Location:
    Sydney
    upload_2019-5-20_14-23-36.png
     
    pspeirs, May 20, 2019
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.