CSS3扁平风格价格表样式代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 CSS3扁平风格价格表样式代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

CSS3扁平风格价格表样式代码

HTML代码(index.html):

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS3扁平风格价格表样式代码</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap-grid.min.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css">
<link rel="stylesheet" href="css/font-awesome.min.css">

<style type="text/css">
.pricingTable{
	text-align: center;
}
.pricingTable .pricingTable-header{
	padding: 30px 0;
	background: #4d4d4d;
	position: relative;
	transition: all 0.3s ease 0s;
}
.pricingTable:hover .pricingTable-header{
	background: #09b2c6;
}
.pricingTable .pricingTable-header:before,
.pricingTable .pricingTable-header:after{
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid #d9d9d8;
	position: absolute;
	bottom: 12px;
}
.pricingTable .pricingTable-header:before{
	left: 40px;
}
.pricingTable .pricingTable-header:after{
	right: 40px;
}
.pricingTable .heading{
	font-size: 20px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 0;
}
.pricingTable .price-value{
	display: inline-block;
	position: relative;
	font-size: 55px;
	font-weight: bold;
	color: #09b1c5;
	transition: all 0.3s ease 0s;
}
.pricingTable:hover .price-value{
	color: #fff;
}
.pricingTable .currency{
	font-size: 30px;
	font-weight: bold;
	position: absolute;
	top: 6px;
	left: -19px;
}
.pricingTable .month{
	font-size: 16px;
	color: #fff;
	position: absolute;
	bottom: 15px;
	right: -30px;
	text-transform: uppercase;
}
.pricingTable .pricing-content{
	padding-top: 50px;
	background: #fff;
	position: relative;
}
.pricingTable .pricing-content:before,
.pricingTable .pricing-content:after{
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid #7c7c7c;
	position: absolute;
	top: 12px;
}
.pricingTable .pricing-content:before{
	left: 40px;
}
.pricingTable .pricing-content:after{
	right: 40px;
}
.pricingTable .pricing-content ul{
	padding: 0 20px;
	margin: 0;
	list-style: none;
}
.pricingTable .pricing-content ul:before,
.pricingTable .pricing-content ul:after{
	content: "";
	width: 8px;
	height: 46px;
	border-radius: 3px;
	background: linear-gradient(to bottom,#818282 50%,#727373 50%);
	position: absolute;
	top: -22px;
	z-index: 1;
	box-shadow: 0 0 5px #707070;
	transition: all 0.3s ease 0s;
}
.pricingTable:hover .pricing-content ul:before,
.pricingTable:hover .pricing-content ul:after{
	background: linear-gradient(to bottom, #40c4db 50%, #34bacc 50%);
}
.pricingTable .pricing-content ul:before{
	left: 44px;
}
.pricingTable .pricing-content ul:after{
	right: 44px;
}
.pricingTable .pricing-content ul li{
	font-size: 15px;
	font-weight: bold;
	color: #777473;
	padding: 10px 0;
	border-bottom: 1px solid #d9d9d8;
}
.pricingTable .pricing-content ul li:last-child{
	border-bottom: none;
}
.pricingTable .read{
	display: inline-block;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	background: #d9d9d8;
	padding: 8px 25px;
	margin: 30px 0;
	transition: all 0.3s ease 0s;
}
.pricingTable .read:hover{
	text-decoration: none;
}
.pricingTable:hover .read{
	background: #09b1c5;
}
@media screen and (max-width: 990px){
	.pricingTable{ margin-bottom: 25px; }
}
</style>
<!--[if IE]>
	<script src="http://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
</head>
<body>

<div class="demo" style="background:#c0bfbf;padding: 1em 0;">
	<div class="container">
		<div class="row">
			<div class="col-md-3 col-sm-6">
				<div class="pricingTable">
					<div class="pricingTable-header">
						<h3 class="heading">Standard</h3>
						<span class="price-value">
							<span class="currency">$</span> 10
							<span class="month">/mo</span>
						</span>
					</div>
					<div class="pricing-content">
						<ul>
							<li>50GB Disk Space</li>
							<li>50 Email Accounts</li>
							<li>50GB Monthly Bandwidth</li>
							<li>10 Subdomains</li>
							<li>15 Domains</li>
						</ul>
						<a href="#" class="read">sign up</a>
					</div>
				</div>
			</div>

			<div class="col-md-3 col-sm-6">
				<div class="pricingTable">
					<div class="pricingTable-header">
						<h3 class="heading">Business</h3>
						<span class="price-value">
							<span class="currency">$</span> 20
							<span class="month">/mo</span>
						</span>
					</div>
					<div class="pricing-content">
						<ul>
							<li>60GB Disk Space</li>
							<li>60 Email Accounts</li>
							<li>60GB Monthly Bandwidth</li>
							<li>15 Subdomains</li>
							<li>20 Domains</li>
						</ul>
						<a href="#" class="read">sign up</a>
					</div>
				</div>
			</div>

			<div class="col-md-3 col-sm-6">
				<div class="pricingTable">
					<div class="pricingTable-header">
						<h3 class="heading">Premium</h3>
						<span class="price-value">
							<span class="currency">$</span> 30
							<span class="month">/mo</span>
						</span>
					</div>
					<div class="pricing-content">
						<ul>
							<li>70GB Disk Space</li>
							<li>70 Email Accounts</li>
							<li>70GB Monthly Bandwidth</li>
							<li>20 Subdomains</li>
							<li>25 Domains</li>
						</ul>
						<a href="#" class="read">sign up</a>
					</div>
				</div>
			</div>

			<div class="col-md-3 col-sm-6">
				<div class="pricingTable">
					<div class="pricingTable-header">
						<h3 class="heading">Extra</h3>
						<span class="price-value">
							<span class="currency">$</span> 40
							<span class="month">/mo</span>
						</span>
					</div>
					<div class="pricing-content">
						<ul>
							<li>80GB Disk Space</li>
							<li>80 Email Accounts</li>
							<li>80GB Monthly Bandwidth</li>
							<li>25 Subdomains</li>
							<li>30 Domains</li>
						</ul>
						<a href="#" class="read">sign up</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>










CSS代码(demo.css):

body,html{font-size:100%;padding:0;margin:0;}
/* Reset */
*,*:after,*:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
/* Clearfix hack by Nicolas Gallagher:http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,.clearfix:after{content:" ";display:table;}
.clearfix:after{clear:both;}
body{color:#D5D6E2;font-weight:500;font-size:1.05em;font-family:"Microsoft YaHei","Segoe UI","Lucida Grande",Helvetica,Arial,sans-serif;}
a{color:rgba(255,255,255,0.6);outline:none;text-decoration:none;-webkit-transition:0.2s;transition:0.2s;}
a:hover,a:focus{color:#74777b;text-decoration:none;}
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
338.09 KB
Html CSS3特效
最新结算
股权转让协议意向书模板
类型: .docx 金额: CNY 2.23¥ 状态: 待结算 详细>
股权转让协议意向书模板
类型: .docx 金额: CNY 0.28¥ 状态: 待结算 详细>
CSS3图片向上3D翻转渐隐消失特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3图片向上3D翻转渐隐消失特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
.net c# 将金额转人名币大写金额
类型: .rar 金额: CNY 2.39¥ 状态: 待结算 详细>
.net c# 将金额转人名币大写金额
类型: .rar 金额: CNY 0.3¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 2.23¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 0.28¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 2.23¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 0.28¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章