HTML
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>可用的一些布局(产品价格篇) - 光年(Light Year Admin)后台管理系统模板</title>
<link rel="icon" href="favicon.ico" type="image/ico">
<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
<meta name="author" content="yinqi">
<link href="http://lyear.itshubao.com/iframe/css/bootstrap.min.css" rel="stylesheet">
<link href="http://example.itshubao.com/demo/css/materialdesignicons.min.css" rel="stylesheet">
<link href="http://lyear.itshubao.com/iframe/css/style.min.css" rel="stylesheet">
<style>
</style>
</head>
<body>
<div class="container-fluid p-t-15">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>可用的一些布局 - 产品价格篇</h4></div>
<div class="card-body">
<p>产品价格布局演示,布局来源于网络,大家看需要使用,O(∩_∩)O。<span class="text-danger">目前这些布局是基于bootstrap 3.3.7。</span></p>
</div>
</div>
</div>
</div>
<!--第一种布局方式-->
<div class="row card-pricing-row">
<div class="col-md-4">
<div class="card card-pricing">
<div class="card-body">
<h3>标准存储</h3>
<div class="pricing-price">
<span class="fa-3x text-warning">0.099</span>
<span class="text-lighter">元/GB/月</span>
</div>
<div class="text-muted">
<p>高可靠、高可用和高性能的对象存储服务</p>
<p>适用场景:设计应用、内容分享、热点对象</p>
</div>
<ul class="specification-list">
<li>
<span class="name-specification">设计可靠性</span>
<span class="status-specification">99.999999999%(11 个 9)</span>
</li>
<li>
<span class="name-specification">设计可用性</span>
<span class="status-specification">99.99%</span>
</li>
<li>
<span class="name-specification">数据访问</span>
<span class="status-specification">实时访问</span>
</li>
<li>
<span class="name-specification">最短存储时间</span>
<span class="status-specification">无</span>
</li>
<li>
<span class="name-specification">Object 最小计量</span>
<span class="status-specification">无</span>
</li>
</ul>
<button class="btn btn-primary btn-block"><b>了解详情</b></button>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-pricing card-pricing-focus bg-primary">
<div class="card-body">
<h3 class="text-white">低频访问存储</h3>
<div class="pricing-price">
<span class="fa-3x">0.06</span>
<span class="text-white-50">元/GB/月</span>
</div>
<div class="text-white-50">
<p>高可靠、高可用和较低成本的实时访问存储服务</p>
<p>适用场景:网盘应用、政企数据备份、监控数据</p>
</div>
<ul class="specification-list">
<li>
<span class="name-specification">设计可靠性</span>
<span class="status-specification">99.999999999%(11 个 9)</span>
</li>
<li>
<span class="name-specification">设计可用性</span>
<span class="status-specification">99.99%</span>
</li>
<li>
<span class="name-specification">数据访问</span>
<span class="status-specification">实时访问</span>
</li>
<li>
<span class="name-specification">最短存储时间</span>
<span class="status-specification">30 天</span>
</li>
<li>
<span class="name-specification">Object 最小计量</span>
<span class="status-specification">64 KB</span>
</li>
</ul>
<button class="btn btn-light btn-block"><b>了解详情</b></button>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card card-pricing">
<div class="card-body">
<h3>归档存储</h3>
<div class="pricing-price">
<span class="fa-3x text-warning">0.032</span>
<span class="text-lighter">元/GB/月</span>
</div>
<div class="text-muted">
<p>极低成本的高可靠归档数据存储服务</p>
<p>适用场景:档案数据、医疗影像、科学资料</p>
</div>
<ul class="specification-list">
<li>
<span class="name-specification">设计可靠性</span>
<span class="status-specification">99.999999999%(11 个 9)</span>
</li>
<li>
<span class="name-specification">设计可用性</span>
<span class="status-specification">99.99%(数据解冻后)</span>
</li>
<li>
<span class="name-specification">数据访问</span>
<span class="status-specification">先解冻再访问</span>
</li>
<li>
<span class="name-specification">最短存储时间</span>
<span class="status-specification">60 天</span>
</li>
<li>
<span class="name-specification">Object 最小计量</span>
<span class="status-specification">64 KB</span>
</li>
</ul>
<button class="btn btn-primary btn-block"><b>了解详情</b></button>
</div>
</div>
</div>
</div>
<!--第二种布局方式-->
<div class="row">
<div class="col-md-4">
<div class="card card-pricing2 bg-success">
<div class="pricing-header">
<h3 class="text-white">标准存储</h3>
<p>高可靠、高可用和高性能的对象存储服务</p>
<p>适用场景:设计应用、内容分享、热点对象</p>
</div>
<div class="price-value">
<div class="pricing-inner-value">
<h2 class="text-center text-success">0.099</h2>
<span class="text-success">/元/GB/月</span>
</div>
</div>
<ul class="pricing-content">
<li>设计可靠性:99.999999999%(11 个 9)</li>
<li>设计可用性:99.99%</li>
<li>数据访问:实时访问</li>
<li class="pricing-disable">最短存储时间:无</li>
<li class="pricing-disable">Object 最小计量:无</li>
</ul>
<a href="#" class="btn btn-success w-75">点击查看详情</a>
</div>
</div>
<div class="col-md-4">
<div class="card card-pricing2 bg-primary">
<div class="pricing-header">
<h3 class="text-white">低频访问存储</h3>
<p>高可靠、高可用和较低成本的实时访问存储服务</p>
<p>适用场景:网盘应用、政企数据备份、监控数据</p>
</div>
<div class="price-value">
<div class="pricing-inner-value">
<h2 class="text-center text-primary">0.06</h2>
<span class="text-success">/元/GB/月</span>
</div>
</div>
<ul class="pricing-content">
<li>设计可靠性:99.999999999%(11 个 9)</li>
<li>设计可用性:99.99%</li>
<li>数据访问:实时访问</li>
<li>最短存储时间:30 天</li>
<li>Object 最小计量:64 KB</li>
</ul>
<a href="#" class="btn btn-primary w-75">点击查看详情</a>
</div>
</div>
<div class="col-md-4">
<div class="card card-pricing2 bg-purple">
<div class="pricing-header">
<h3 class="text-white">归档存储</h3>
<p>极低成本的高可靠归档数据存储服务</p>
<p>适用场景:档案数据、医疗影像、科学资料</p>
</div>
<div class="price-value">
<div class="pricing-inner-value">
<h2 class="text-center text-purple">0.032</h2>
<span class="text-purple">/元/GB/月</span>
</div>
</div>
<ul class="pricing-content">
<li>设计可靠性:99.999999999%(11 个 9)</li>
<li>设计可用性:99.99%(数据解冻后)</li>
<li>数据访问:先解冻再访问</li>
<li>最短存储时间:60 天</li>
<li>Object 最小计量:64 KB</li>
</ul>
<a href="#" class="btn btn-purple w-75">点击查看详情</a>
</div>
</div>
</div>
<!--第三种布局方式-->
<div class="row">
<div class="col-md-4">
<div class="card">
<div class="card-body">
<div class="pricing-table m-b-20">
<h6 class="text-center">入门</h6>
<h2 class="text-center">免费</h2>
<table class="table m-t-15">
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 设计可靠性:99.999999999%(11 个 9)</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 设计可用性:99.99%</td>
</tr>
<tr>
<td><i class="mdi mdi-close-circle-outline text-success"></i> 数据访问:实时访问</td>
</tr>
<tr>
<td><i class="mdi mdi-close-circle-outline text-danger"></i> 最短存储时间:无</td>
</tr>
<tr>
<td><i class="mdi mdi-close-circle-outline text-danger"></i> Object 最小计量:无</td>
</tr>
</table>
</div>
<div class="text-center">
<button class="btn btn-primary btn-block">开始试用</button>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card bg-success">
<div class="card-body">
<div class="pricing-table selected-pricing-table">
<h6 class="text-center text-white">基础</h6>
<h2 class="text-center">
<sup>
<small class="text-white-50">¥</small>
</sup>
<span class="text-white">189</span>
<sup>
<small class="text-white-50">每年</small>
</sup>
</h2>
<table class="table m-t-15">
<tr>
<td><i class="mdi mdi-check-circle-outline text-white"></i> 设计可靠性:99.999999999%(11 个 9)</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-white"></i> 设计可用性:99.99%</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-white"></i> 数据访问:实时访问</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-white"></i> 最短存储时间:30 天</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-white"></i> Object 最小计量:64 KB</td>
</tr>
</table>
</div>
<div class="text-center">
<button class="btn btn-light btn-block">开始试用</button>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<div class="pricing-table">
<h6 class="text-center">专业</h6>
<h2 class="text-center">
<sup>
<small>¥</small>
</sup>
<span class="">289</span>
<sup>
<small class="text-muted">每月</small>
</sup>
</h2>
<table class="table m-t-15">
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 设计可靠性:99.999999999%(11 个 9)</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 设计可用性:99.99%(数据解冻后)</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 数据访问:先解冻再访问</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> 最短存储时间:60 天</td>
</tr>
<tr>
<td><i class="mdi mdi-check-circle-outline text-success"></i> Object 最小计量:64 KB</td>
</tr>
</table>
</div>
<div class="text-center">
<button class="btn btn-primary btn-block">开始试用</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="http://lyear.itshubao.com/iframe/js/jquery.min.js"></script>
<script type="text/javascript" src="http://lyear.itshubao.com/iframe/js/bootstrap.min.js"></script>
</body>
</html>
CSS
/* 第一种布局 */
.card-pricing-row {
padding: 40px 0px;
}
.card-pricing {
text-align: center;
}
.card-pricing .specification-list {
list-style: none;
padding-left: 0;
margin-top: 30px;
margin-bottom: 30px;
}
.card-pricing .specification-list li {
padding: 8px 0 12px;
border-bottom: 1px solid rgba(77, 82, 89, 0.05);
text-align: left;
font-size: 12px;
margin-bottom: 5px;
}
.card-pricing .specification-list li .name-specification {
font-weight: 700;
}
.card-pricing .specification-list li .status-specification {
margin-left: auto;
float: right;
font-weight: 400;
}
.card-pricing.card-pricing-focus {
padding: 40px 5px;
margin-top: -40px;
}
@media screen and (max-width: 970px) {
.card-pricing.card-pricing-focus {
margin-top: 0px;
}
.card-pricing-row {
padding: 0px;
}
}
/* 第二种布局方式 */
.card-pricing2 {
background: #fff!important;
padding-bottom: 30px;
text-align: center;
overflow: hidden;
position: relative;
}
.card-pricing2:before {
content: "";
width: 100%;
height: 350px;
position: absolute;
top: -150px;
left: 0;
transform: skewY(-20deg);
}
.card-pricing2.bg-primary:before {
background: #33cabb;
}
.card-pricing2.bg-success:before {
background: #15c377;
}
.card-pricing2.bg-info:before {
background: #48b0f7;
}
.card-pricing2.bg-warning:before {
background: #faa64b;
}
.card-pricing2.bg-danger:before {
background-color: #f96868;
}
.card-pricing2.bg-pink:before {
background-color: #f96197;
}
.card-pricing2.bg-purple:before {
background-color: #926dde;
}
.card-pricing2.bg-brown:before {
background-color: #8d6658;
}
.card-pricing2.bg-cyan:before {
background-color: #57c7d4;
}
.card-pricing2.bg-yellow:before {
background-color: #fcc525;
}
.card-pricing2.bg-dark:before {
background-color: #465161;
}
.card-pricing2 .pricing-header {
padding: 20px 20px 60px;
text-align: left;
position: relative;
}
.card-pricing2 .price-value {
display: inline-block;
width: 170px;
height: 110px;
padding: 15px;
border: 2px solid;
border-top: none;
border-bottom: none;
position: relative;
}
.card-pricing2 .price-value:after,
.card-pricing2 .price-value:before {
width: 121px;
height: 121px;
border: 3px solid;
border-right: none;
border-bottom: none;
position: absolute;
top: -60px;
content: "";
left: 50%;
transform: translateX(-50%) scaleY(.5) rotate(45deg);
}
.card-pricing2 .pricing-inner-value {
width: 100%;
height: 100%;
border: 2px solid;
border-top: none;
border-bottom: none;
z-index: 1;
position: relative;
background: #fff;
}
.card-pricing2 .pricing-inner-value:after,
.card-pricing2 .pricing-inner-value:before {
width: 97px;
height: 97px;
background: #fff;
border: 3px solid;
border-bottom: none;
border-right: none;
position: absolute;
top: -48px;
z-index: -1;
content: "";
left: 50%;
transform: translateX(-50%) scaleY(.5) rotate(45deg);
}
.card-pricing2 .price-value:after {
border-top: none;
border-left: none;
border-bottom: 3px solid;
border-right: 3px solid;
top: auto;
bottom: -60px;
}
.card-pricing2 .pricing-inner-value:after {
border-right: 3px solid;
border-bottom: 3px solid;
border-top: none;
border-left: none;
top: auto;
bottom: -48px;
}
.card-pricing2.bg-success .price-value,
.card-pricing2.bg-success .pricing-inner-value {
border-right-color: #15c377;
border-left-color: #15c377;
}
.card-pricing2.bg-success .price-value:before,
.card-pricing2.bg-success .pricing-inner-value:before {
border-left-color: #15c377;
border-top-color: #15c377;
}
.card-pricing2.bg-success .price-value:after,
.card-pricing2.bg-success .pricing-inner-value:after {
border-right-color: #15c377;
border-bottom-color: #15c377;
}
.card-pricing2.bg-primary .price-value,
.card-pricing2.bg-primary .pricing-inner-value {
border-right-color: #33cabb;
border-left-color: #33cabb;
}
.card-pricing2.bg-primary .price-value:before,
.card-pricing2.bg-primary .pricing-inner-value:before {
border-left-color: #33cabb;
border-top-color: #33cabb;
}
.card-pricing2.bg-primary .price-value:after,
.card-pricing2.bg-primary .pricing-inner-value:after {
border-right-color: #33cabb;
border-bottom-color: #33cabb;
}
.card-pricing2.bg-info .price-value,
.card-pricing2.bg-info .pricing-inner-value {
border-right-color: #48b0f7;
border-left-color: #48b0f7;
}
.card-pricing2.bg-info .price-value:before,
.card-pricing2.bg-info .pricing-inner-value:before {
border-left-color: #48b0f7;
border-top-color: #48b0f7;
}
.card-pricing2.bg-info .price-value:after,
.card-pricing2.bg-info .pricing-inner-value:after {
border-right-color: #48b0f7;
border-bottom-color: #48b0f7;
}
.card-pricing2.bg-warning .price-value,
.card-pricing2.bg-warning .pricing-inner-value {
border-right-color: #faa64b;
border-left-color: #faa64b;
}
.card-pricing2.bg-warning .price-value:before,
.card-pricing2.bg-warning .pricing-inner-value:before {
border-left-color: #faa64b;
border-top-color: #faa64b;
}
.card-pricing2.bg-warning .price-value:after,
.card-pricing2.bg-warning .pricing-inner-value:after {
border-right-color: #faa64b;
border-bottom-color: #faa64b;
}
.card-pricing2.bg-danger .price-value,
.card-pricing2.bg-danger .pricing-inner-value {
border-right-color: #f96868;
border-left-color: #f96868;
}
.card-pricing2.bg-danger .price-value:before,
.card-pricing2.bg-danger .pricing-inner-value:before {
border-left-color: #f96868;
border-top-color: #f96868;
}
.card-pricing2.bg-danger .price-value:after,
.card-pricing2.bg-danger .pricing-inner-value:after {
border-right-color: #f96868;
border-bottom-color: #f96868;
}
.card-pricing2.bg-pink .price-value,
.card-pricing2.bg-pink .pricing-inner-value {
border-right-color: #f96197;
border-left-color: #f96197;
}
.card-pricing2.bg-pink .price-value:before,
.card-pricing2.bg-pink .pricing-inner-value:before {
border-left-color: #f96197;
border-top-color: #f96197;
}
.card-pricing2.bg-pink .price-value:after,
.card-pricing2.bg-pink .pricing-inner-value:after {
border-right-color: #f96197;
border-bottom-color: #f96197;
}
.card-pricing2.bg-purple .price-value,
.card-pricing2.bg-purple .pricing-inner-value {
border-right-color: #926dde;
border-left-color: #926dde;
}
.card-pricing2.bg-purple .price-value:before,
.card-pricing2.bg-purple .pricing-inner-value:before {
border-left-color: #926dde;
border-top-color: #926dde;
}
.card-pricing2.bg-purple .price-value:after,
.card-pricing2.bg-purple .pricing-inner-value:after {
border-right-color: #926dde;
border-bottom-color: #926dde;
}
.card-pricing2.bg-brown .price-value,
.card-pricing2.bg-brown .pricing-inner-value {
border-right-color: #8d6658;
border-left-color: #8d6658;
}
.card-pricing2.bg-brown .price-value:before,
.card-pricing2.bg-brown .pricing-inner-value:before {
border-left-color: #8d6658;
border-top-color: #8d6658;
}
.card-pricing2.bg-brown .price-value:after,
.card-pricing2.bg-brown .pricing-inner-value:after {
border-right-color: #8d6658;
border-bottom-color: #8d6658;
}
.card-pricing2.bg-cyan .price-value,
.card-pricing2.bg-cyan .pricing-inner-value {
border-right-color: #57c7d4;
border-left-color: #57c7d4;
}
.card-pricing2.bg-cyan .price-value:before,
.card-pricing2.bg-cyan .pricing-inner-value:before {
border-left-color: #57c7d4;
border-top-color: #57c7d4;
}
.card-pricing2.bg-cyan .price-value:after,
.card-pricing2.bg-cyan .pricing-inner-value:after {
border-right-color: #57c7d4;
border-bottom-color: #57c7d4;
}
.card-pricing2.bg-yellow .price-value,
.card-pricing2.bg-yellow .value {
border-right-color: #fcc525;
border-left-color: #fcc525;
}
.card-pricing2.bg-yellow .price-value:before,
.card-pricing2.bg-yellow .pricing-inner-value:before {
border-left-color: #fcc525;
border-top-color: #fcc525;
}
.card-pricing2.bg-yellow .price-value:after,
.card-pricing2.bg-yellow .pricing-inner-value:after {
border-right-color: #fcc525;
border-bottom-color: #fcc525;
}
.card-pricing2.bg-dark .price-value,
.card-pricing2.bg-dark .pricing-inner-value {
border-right-color: #465161;
border-left-color: #465161;
}
.card-pricing2.bg-dark .price-value:before,
.card-pricing2.bg-dark .pricing-inner-value:before {
border-left-color: #465161;
border-top-color: #465161;
}
.card-pricing2.bg-dark .price-value:after,
.card-pricing2.bg-dark .pricing-inner-value:after {
border-right-color: #465161;
border-bottom-color: #465161;
}
.card-pricing2 .pricing-content {
padding: 50px 0 0 80px;
margin-bottom: 20px;
list-style: none;
text-align: left;
transition: all .3s ease 0s;
}
.card-pricing2 .pricing-content li {
padding: 5px 0;
font-size: 14px;
color: #4d5259;
position: relative;
line-height: 27px;
}
.card-pricing2 .pricing-content li.pricing-disable:before,
.card-pricing2 .pricing-content li:before {
content: "\f5e1";
font-family: 'Material Design Icons';
color: #15c377;
text-align: center;
position: absolute;
left: -40px;
font-size: 20px;
}
.card-pricing2 .pricing-content li.pricing-disable:before {
content: "\f15a";
color: #f96868;
}