Design comparison
Solution retrospective
Pls let me know what do you think about it. Do someone have any idea why does not work the screenShoot properly ? Thanks
Community feedback
- @DarkAmdHaPosted over 3 years ago
Hey! No clue why the slider didn't load, had the same problem. But you should probably add an event listener on the toggler, so that when toggled, the 25% discount is applied to the price.
Marked as helpful0@Barna-MolnarPosted over 3 years ago@DarkAmdHa
Hi, I have totally forgotten to add the functionality to the toggle button... but it is done now.... :D thanks. The thing is that
'' :before and :after should only work on the element which can act as a container of content. <input> cannot contain any content so it should not support those pseudo-elements. Chrome supports because it does not follow the spec (or bug?)''
Anyway you have write support to mozilla / firefox in order to see your thumb in other browser / input::-moz-range-thumb { and here you declare the rules again}
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord