bootstrap 横铺 行_Bootstrap网格布局(跨行?)

本文介绍了如何使用Bootstrap实现横铺的网格布局,并通过CSS样式设置实现内容块的边距调整和箭头元素的定位。内容包括Introduction、List of dates、Content和More content,展示了文字内容和布局设计的结合。
摘要由CSDN通过智能技术生成

@import url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css');

img {

height: auto;

width: 100%;

}

.container {

margin-bottom: 10px;

}

.row > div {

margin-top: 10px;

padding: 0;

}

.content {

background: #ddd;

padding: 20px 15px 120px;

}

.spaces {

margin-bottom: 80px;

margin-top: 80px;

}

.space-both {

padding-left: 16.66666667% !important; /* of the page width */

padding-right: 16.66666667% !important; /* of the page width */

}

.space-right {

padding-right: 25% !important; /* of the page width */

}

.arrow-both {

height: calc(100% + 160px) !important;

position: absolute;

right: 0;

top: -80px;

width: 30% !important; /^ of the block width */

}

.arrow-down,

.arrow-up {

height: calc(100% + 80px + 50%);

position: absolute;

width: 20%; /^ of the block width */

}

.arrow-down {

left: 0;

top: 0;

}

.arrow-up {

bottom: 0;

right: 0;

}

Introduction

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

List of dates

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

Content

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

More content

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值