Abhijit Barman• 550
@abhijitbcob
Posted
I really liked your css code. My one tip for making the toggle switch scalable:
- assign the width of circle slider to a variable
- then using multiplicand of the variable define the width of the switch
- transform the slider using the multiplicand of the variable(use calc())
- then just change the variable value and everything will change
Marked as helpful
1
Ryan Mahara• 135
@MainlyColors
Posted
@abhijitbcob Thanks for the feedback, I need to do a better job thinking about re-usability with my solutions, I'll try implementing these tips later tonight after work 😁
0