Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.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 <;p>;与引导对齐_Twitter Bootstrap_Twitter Bootstrap 3 - Fatal编程技术网

Twitter bootstrap <;p>;与引导对齐

Twitter bootstrap <;p>;与引导对齐,twitter-bootstrap,twitter-bootstrap-3,Twitter Bootstrap,Twitter Bootstrap 3,如何推送版权和复制 此html元素带有引导,不使用div标记。 我尝试使用push_2和pull_2,但似乎不起作用。您需要使用“偏移”,而不是push p{ 高度:50px; 背景:红色; } <div class="row"> <p class="col-sm-3 col-sm-offset-6"></p> </div> p { height: 50px; background: red; }

如何推送
版权和复制

此html元素带有引导,不使用div标记。 我尝试使用push_2和pull_2,但似乎不起作用。

您需要使用“偏移”,而不是push


p{ 高度:50px; 背景:红色; }
<div class="row">
    <p class="col-sm-3 col-sm-offset-6"></p>
</div>

p {
    height: 50px;
    background: red;
}