I am new to HTML / CSS / Bootstrap and am having a question about how to put two checkbox components inside some kind of container with a title. Am I doing it the right way or is there another better way to do it? My components look like this:
ButIwouldlikeittolooklikethis:
<divclass="panel">
<div class="panel-body container-fluid pt-10 pl-15 pr-15">
<div class="form-horizontal">
<vc:summary />
<div class="form-horizontal">
<div class="col-md-12">
<div class="form-group row">
<div class="col-md-6">
<label asp-for="Descricao" class="control-label">Descrição</label>
<input asp-for="Descricao" class="form-control text-uppercase" />
<span asp-validation-for="Descricao" class="text-danger"></span>
</div>
<label class="control-label">Aplicar a:</label>
<div class="col-md-3">
<div class="float-left mr-20">
<input type="checkbox" class="mycheckbox" data-plugin="switchery"
checked />
</div>
<label class="pt-3" for="inputBasicOn">Pessoa Física</label>
</div>
<div class="col-md-3">
<div class="float-left mr-20">
<input type="checkbox" class="mycheckbox" data-plugin="switchery"
checked />
</div>
<label class="pt-3" for="inputBasicOn">Pessoa Jurídica</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
I know it must be a very simple procedure, but I do not know how to do it in the best way possible. Would anyone know how to help me fix it?
A hug to everyone!