【发布时间】:2017-05-04 14:44:17
【问题描述】:
我正在为单选按钮使用引导 btn-group 类。它们无法在实时服务器上运行。我的网站正在开发 example.com 。尽管它们在单独的 html 页面上运行。
<div class="row">
<section class="col-lg-2 col-xs-3">
<label>Gender:</label></section>
<section class="col-lg-4 col-xs-8">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary control-label input-group">
<input type="radio" name="gender" id="option2" autocomplete="off" value="male">Male
</label>
<label class="btn btn-primary ">
<input type="radio" name="gender" id="option3" autocomplete="off" value="female" checked> Female
</label>
</div>
</section>
</div>
【问题讨论】:
-
没有与我尝试JSFiddle 相关的具体问题。任何控制台错误?
-
@Zeratops 实际上它已经在本地机器上的纯 html 上工作,但在我的网站上它不起作用。而且没有控制台错误
标签: html css twitter-bootstrap twitter-bootstrap-3 radio-button