diff options
add form horizontal code
1 files changed, 23 insertions, 0 deletions
| -rw-r--r-- | src/forms.less | 23 |
diff --git a/src/forms.less b/src/forms.less index 110b747..8d4cbc4 100644 --- a/src/forms.less +++ b/src/forms.less @@ -2,6 +2,29 @@ .form-group:not(:last-child) { margin-bottom: 1rem; } +.form-horizontal { + .col-12, + .col-11, + .col-10, + .col-9, + .col-8, + .col-7, + .col-6, + .col-5, + .col-4, + .col-3, + .col-2, + .col-1 { + float: left; + } + .form-label { + padding: .8rem .4rem; + } + .form-checkbox, + .form-radio { + margin: .5rem 0; + } +} // Form element: Input boxes .form-input { position: relative; |