I am trying to center a checkbox input to its text input siblings. The text inputs have label on top of them and the checkbox label is to the side of it.
Using flexbox, it doesn't work because align-items: center; centers it to the entire height including the label:
.wrapper { display: flex; align-items: center; } label span { display: block; } label: label: label
But I want the checkbox to be in the center of the text box, something like this:

What is a proper way to achieve this?
Источник: https://stackoverflow.com/questions/781 ... bel-on-top