gpt4 book ai didi

html - Bootstrap 平板电脑 View

转载 作者:太空宇宙 更新时间:2023-11-04 08:05:06 25 4
gpt4 key购买 nike

我想设计引导表单菜单,但如果我在平板电脑上使用 View ,菜单没有响应。请检查下面所附的图片:

enter image description here

我的代码:

<fieldset>
<div class="form-group">
<div class="col-sm-offset-0 col-sm-12">
<div class="form-group input-group">
<!-- nested form-group acting like row -->
<div class="col-sm-2 ">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
<input type="date" class="form-control" />
</div>
</div>
<!-- /col-sm-6 -->

<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
<input type="date" class="form-control" />
</div>
</div>
<!-- /col-sm-6 -->

<div class="col-sm-2">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
<input type="date" class="form-control" />
</div>
</div>
<!-- /col-sm-4 -->

<div class="col-sm-2">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
<input type="date" class="form-control" />
</div>
</div>
<!-- /col-sm-2 -->

<div class="col-sm-1">
<button type="submit" class="btn btn-danger btn-block">Add</button>
</div>
</div>
<!-- /nested form-group acting like row -->
</div>
<!-- /col-sm-offset-3 col-sm-9 -->
</div>
<!-- /form-group -->
</fieldset>

而且,这里是 jsfiddle 的链接

最佳答案

您可以向每个网格添加 col-xs-12

在 JSFiddle 中检查答案:http://jsfiddle.net/1vjLcjow/1/

关于html - Bootstrap 平板电脑 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46708320/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com