Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • Sviat 100

    @whitetark

    Submitted

    Hi!

    Firstly, I have no idea how to create slider with three items. Secondly, I tried to look at a lot of different usages and handle some errors, and only after that I started to search about commas between numbers. I understand how to do it, but my code that I wrote will be broken, so It needed me to rewrite whole code, that's why I decided to skip it for now. And the last thing, I'm not sure on prefers-color-scheme.

    Any additional info, links and especially feedback would be very helpful! Have a nice day!

    dev-fa 120

    @dev-fa

    Posted

    Hey! Regarding the theme slider, you can give your radio inputs a property appearance: none; that would remove its default styling and will make it look visually empty. Wrap the radio inputs in a pill shaped div then give it some padding. The radio buttons should only get color when they are checked, giving it the appearance of a "slider". You can check my implementation as a reference.

    Marked as helpful

    1