Hi, I’ve made them stack on new lines. now the problem I run into is they have not aligned vertically the checkboxes and the radio buttons example :
and my project is here
Hi, I’ve made them stack on new lines. now the problem I run into is they have not aligned vertically the checkboxes and the radio buttons example :
and my project is here
I’m only reasonably new to this so there may be a more efficient way to code this.
But in my understanding, the label and checkbox are considered one, so as you have it to justify center then it centers the entire line, so you could either justify right and then align the padding and margin to center it.
Or, you could separate the label and the checkbox so they are two separate entities, then you could align the two in the way that you want.
Hope this helps!
Yeah that’s why I posted this question, maybe someone can show me an efficient way to do this, cause I feel like making another separate div for one element is kinda much
But if nothing comes up I won’t have a choice.
Styling inputs is so annoying…
I’ll say your project could use a lot of styling
Anyways, on .checkbox-flex
, set align-items
to flex-end
.
Yep it’s still in progress… thanks i’ll try
It fixes the alignment issue, but i want the content centered … so now there is another issue
That will be a bit trickier you will need a new div
Let me play a bit
I can’t get it perfect. This is about the best i can do: https://codepen.io/phpdude/pen/xxKJwBz?editors=1100
Thank you for your help, I was fighting it also for a while decided to just leave it at flex-end. Just gonna style it up and wrap it up. Gonna make it better once i will incorporate grids. thank you so much for helping me out. Hopefully i’ll learn better solutions for foms l8r on
Once you’re done styling notify me and I’ll give feedback