1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Refactor forms styles

* Reorganize forms.less
* Change from attribute selectors to `.form-control`. Few lines, less
specific (meaning easier overrides as `element[type=""]` is more
specific than a class), less intrusive, and more performant.
* Add `.form-group` for basic spacing in vertical forms.
* Remove (unnecessary?) `margin: 0;` from `form` element (as far as I
can tell no browser sets that anyway).
This commit is contained in:
Mark Otto
2013-07-25 18:29:51 -07:00
parent d242d536c4
commit 13bc74b636
4 changed files with 239 additions and 321 deletions

File diff suppressed because one or more lines are too long