Hello guys I have a very newbie question here but can't find a way to fix:
.parent {
justify-content:left;
.child__checkbox {
// properties
&:checked {
justify-content:right;
}
}
When the .child__checkbox
is checked, the .parent
property should change from justify-content:left
to justify-content:right
without affecting the properties of .child__checkbox
.
How do you do this?