Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
Mais Formulários
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcon83 committed Apr 8, 2021
1 parent a4c6257 commit ad28468
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01">Opções</label>
</div>
<select class="" id="inputGroupSelect01">
<select class="custom-select" id="inputGroupSelect01">
<option selected>Escolher...</option>
<option value="1">Um</option>
<option value="2">Dois</option>
Expand All @@ -230,7 +230,7 @@
<div class="input-group-prepend">
<button class="btn btn-outline-secondary" type="button">Botão</button>
</div>
<select class="">
<select class="custom-select">
<option selected>Escolher...</option>
<option value="1">Um</option>
<option value="2">Dois</option>
Expand All @@ -257,9 +257,9 @@
<div class="input-group-prepend">
<span class="input-group-text">Upload</span>
</div>
<div class="">
<input type="file" class="">
<label class="">Escolher arquivo</label>
<div class="custom-file">
<input type="file" class="custom-file-input">
<label class="custom-file-label">Escolher arquivo</label>
</div>
</div>

Expand Down
10 changes: 10 additions & 0 deletions _Bootstrap - Formulários.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ Checkbox e Radio Custom
.custom-control-label => no label;


Dropdowns

.dropdown => na classe pai;
.dropdown-toggle => no botão;
data-toggle="dropdown" => no botão;
.dropdown-menu => em uma div;
.dropdown-item => nos filhos do .dropdown-menu;
.dropdown-divider => em uma div filha de .dropdown-menu;


Elementos custom

.custom-select => estilo alternativo para selects;
Expand Down

0 comments on commit ad28468

Please sign in to comment.