Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.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,我有这个密码 <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <scr

我有这个密码

<head>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>

<body>
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-9 col-sm-12">
                <p>A-1</p>
            </div>
            <div class="col-lg-3 col-sm-12">
                <div class="row no-gutters">
                    <div class="col-lg-6 col-sm-6">
                        <p>B-1</p>
                    </div>
                    <div class="col-lg-6 col-sm-6">
                        <p>B-2</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

A-1

B-1

B-2

而在大屏幕设备中,它首先被划分为内联A然后是B,但在小屏幕设备中,它在顶部变成A,在底部变成B,我想做的是保持SM设备的外观,但是在LG设备中,BA之前,我尝试了flex列,但它在两个屏幕中都颠倒了

简化:

lg:

B-1 B-2--A-1

sm:

A-1


B-1 B-2

您不需要任何css。使用引导推拉类--

工作示例


A-1

B-1

B-2


我不明白你想说什么。。我可以用JSFIDLE/Codepen/visual image吗?@LakshmanKambam我不知道如何解释,但简单地说,我想按lg屏幕顺序反转列,而不是先A后B,我想先B后A,但与此同时,sm屏幕订单保持不变,不受lg屏幕订单的影响。B-2和A-1之间的大屏幕订单是什么?