I am trying to center align my toggle next to other form elements such as input boxes. Here is the snippet of HTML code:
.ui.toggle.checkbox {
display: inline-flex;
align-items: baseline;
vertical-align: middle;
}
.ui.toggle.checkbox label {
margin-left: 0.5em;
}
<div class="ui toggle checkbox">
<input type="checkbox" name="power-off" id="power-off">
<label>Power Off</label>
</div>
Any suggestions on how to achieve this? It doesn't seem to be working :-(