javascript – How to stack label tags on top of each other without messing up the position, so i can still center the whole design next


The design they sent me
I cant figure out how to stack each label on top of each other without messing with the position so i can then center the whole thing

I tried using grid for the labels and the radio inputs, flexbox, etc. But when I tried to position them absolutely so I can stack them on top of each other with zindex, I couldnt center it no longer because the container was still the same size, so position wasnt working.
Is there any aproach I could take using css?



Source link

Leave a Comment