Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.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
Html 将列的行为更改为以最长行的宽度换行内容_Html_Css_Twitter Bootstrap - Fatal编程技术网

Html 将列的行为更改为以最长行的宽度换行内容

Html 将列的行为更改为以最长行的宽度换行内容,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我是一个新的用户来引导和尝试使用网格系统为我的需要。 我觉得很烦人的是,有时列宽太长,12列网格系统导致的列间距太大。 由于页面具有响应性,因此更难找到解决方法 <div class="container-fluid"> <div class="row"> <div class="col-xs-2">A</div> <div class="col-xs-1"><

我是一个新的用户来引导和尝试使用网格系统为我的需要。 我觉得很烦人的是,有时列宽太长,12列网格系统导致的列间距太大。 由于页面具有响应性,因此更难找到解决方法

    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-2">A</div>
            <div class="col-xs-1"><img src="..." class="img-responsive" /></div>
            <div class="col-xs-9">C</div>
        </div>
    </div>

你的问题是什么,伙计?您可以在bootstrap中自定义网格系统,而不是12列,您可以使用较少的数字,但这并不能真正解决问题。我希望能够使列宽成为其中行的最大宽度。动态地,这是一个常规的、html中最简单的。我怎样才能只为一列添加这个行为呢?也许你可以修改mixin,看看这个引导代码,在我的项目中,我们克隆了这个repo,我们修改了引导代码来满足我们的需要