Professional Documents
Culture Documents
Chuong 4
Chuong 4
Button
compone
nt
- Create button: <button>, class .btn, btn-primary, ... //tạo màu
- Create outlined button: .btn-line-primary, ... // tạo viền màu
- Button groups:
+ Create button group: .btn-group, role: group, aria-label:Basic example // tạo
nhóm button theo hàng
+ Vertical button group: .btn-group-vertical //tạo nhóm button theo cột
- Button dropdown:
+ dropdown: .dropdown-toggle, data-toggle: dropdown, .dropdown-
menu, .dropdown-item
+ dropup: .dropup
2. Form
- Setting up form: <form>, .form-group, .form-control
- Select
- Textarea
- File input form field: .form-group, .form-control-file on <input>