Open KaKi87 opened 2 years ago
Hello,
I'm desperately trying to put a switch's label before itself.
I tried :
<label>
<input>
display: flex; flex-direction: row-reverse
Until I realized the switch uses :before and :after.
:before
:after
So, it would be nice to have a modifier class for the switch component in order to position its label before itself.
Thanks !
Hello,
I'm desperately trying to put a switch's label before itself.
I tried :
<label>
element before the<input>
elementdisplay: flex; flex-direction: row-reverse
on either parent or childrenUntil I realized the switch uses
:before
and:after
.So, it would be nice to have a modifier class for the switch component in order to position its label before itself.
Thanks !