Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/62.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 3 引导3表单响应_Twitter Bootstrap 3 - Fatal编程技术网

Twitter bootstrap 3 引导3表单响应

Twitter bootstrap 3 引导3表单响应,twitter-bootstrap-3,Twitter Bootstrap 3,下面的fiddle显示了一个示例表单,它有3个“列”,每个列都有一个标签和一个输入。 标题1: 当屏幕缩小时,所有列都折叠成垂直形式(标题在顶部,输入在底部)。 我如何(如果可能的话)做出表单响应是这样的:当屏幕缩小但没有缩小到智能手机大小时,只有第三列折叠。因此,从本质上讲,表单将有2列,而不是3列。然后,当屏幕缩小到智能手机大小时,所有列都会折叠成垂直形式。使用col-sm-3和col-md-2 <div class="form-group"> <l

下面的fiddle显示了一个示例表单,它有3个“列”,每个列都有一个标签和一个输入。


标题1:
当屏幕缩小时,所有列都折叠成垂直形式(标题在顶部,输入在底部)。
我如何(如果可能的话)做出表单响应是这样的:当屏幕缩小但没有缩小到智能手机大小时,只有第三列折叠。因此,从本质上讲,表单将有2列,而不是3列。然后,当屏幕缩小到智能手机大小时,所有列都会折叠成垂直形式。

使用
col-sm-3
col-md-2

   <div class="form-group">
     <label for="txtField1" class="col-sm-2 control-label">Caption 1:</label>
   <div class="col-sm-2">
      <input type="text" id="txtField1" name="txtField1" class="form-control" />
   </div>