diff options
| author | Patrick H. Lauke <[email protected]> | 2016-02-19 15:35:00 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2016-02-19 15:51:59 +0000 |
| commit | 727722da59d16e421851dbc5d11bcd652ef55d97 (patch) | |
| tree | b048588f8ac0c480c6a84b656ee5512776fbf178 | |
| parent | 255e89b2415e17fed75ca16962175f5d468edb1a (diff) | |
| download | bootstrap-727722da59d16e421851dbc5d11bcd652ef55d97.tar.xz bootstrap-727722da59d16e421851dbc5d11bcd652ef55d97.zip | |
Add form-control-legend
| -rw-r--r-- | scss/_forms.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 729ca764f..9a031c3ac 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -80,6 +80,18 @@ select.form-control { margin-bottom: 0; // Override the `<label>` default } +// +// Legends +// + +// For use with horizontal and inline forms, when you need the legend text to +// be the same size as regular labels, and to align with the form controls. +.form-control-legend { + padding: $input-padding-y $input-padding-x; + margin-bottom: 0; + font-size: $font-size-base; +} + // Todo: clear this up |
