form form-control form-group

洪爐百煉生
2014-10-30
1 回答
舉報
0/150
提交
取消
form form-control form-group
2014-10-30
舉報
2016-04-27
你說的form是指role=form吧,role屬性是給屏幕閱讀器使用的,幫助殘疾人使用的,而class=form-control就是讓表單也就是input元素好看點(diǎn),就是加圓角,修改邊框的顏色等,最后一個form-group改變該元素的外邊距的 一般為margin-left:15px;