2 回答
TA贡献1895条经验 获得超7个赞
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<div class="container-fluid">
<div class="row">
<div class="col-6">
<div class="card mb-4 box-shadow h-100">
<div class="card-body">
<p>box 1 data here </p>
</div>
</div>
</div>
<div class="col-6">
<div class="card mb-4 box-shadow h-100">
<div class="card-body">
<p>box 1 data here </p>
<p>box 2 data here </p>
<p>box 2 data here </p>
</div>
</div>
</div>
</div>
</div>
TA贡献1836条经验 获得超13个赞
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<div class="container-fluid">
<div class="row">
<div class="col-md-4" style="display:flex">
<div class="card mb-4 box-shadow" style="width:100%">
<!-- BOX1 -->
<div class="card-body">
box 1 data here
</div>
</div>
</div>
<!-- /col -->
<div class="col-md-8">
<div class="card mb-4 box-shadow">
<!-- BOX2 -->
<div class="card-body">
<p>box 2 data here</p>
<p>box 2 data here </p>
<p>box 2 data here </p>
</div>
</div>
</div>
<!-- /col -->
</div>
<!-- /row -->
</div>
- 2 回答
- 0 关注
- 111 浏览
添加回答
举报