Twitter bootstrap 引导:简单表单上的按钮
使用引导,如果我有这样一个表单:Twitter bootstrap 引导:简单表单上的按钮,twitter-bootstrap,Twitter Bootstrap,使用引导,如果我有这样一个表单: <form> <fieldset> <legend>Legend</legend> <label>Label name</label> <input type="text" placeholder="Type something…"> <button type="submit" class="btn">Submit</button> </fields
<form>
<fieldset>
<legend>Legend</legend>
<label>Label name</label>
<input type="text" placeholder="Type something…">
<button type="submit" class="btn">Submit</button>
</fieldset>
</form>
传奇
标签名称
提交
按钮停留在输入旁边。但我需要它留在底部 添加:.block {
display:block
}
在bootstrap.css的末尾,将“block”类添加到提交按钮:
<button type="submit" class="btn block">Submit</button>
提交
添加:.block {
display:block
}
在bootstrap.css的末尾,将“block”类添加到提交按钮:
<button type="submit" class="btn block">Submit</button>
提交