⚠️
秋叶资源网上的部份代码及教程来源于互联网,仅供网友学习交流,未经秋叶作者或上传书面授权,请勿作他用。
若您的权利被侵害,请联系站长 QQ: 550601163 或 点击右侧 私信:秋叶 反馈,我们将尽快处理。
低调朴实的双按钮引导卡片

秋叶资源网 by Qiuye

秋叶资源网: 阿里云四栏文本介绍引导区块 - wordpress区块

释放双眼,带上耳机,听听看~!
简洁精致的四栏介绍区块,恰到好处的hover动效,拿来即用。

简洁精致的四栏介绍区块,恰到好处的hover动效,拿来即用。

长这样:

<span style='color:#ff5c00;font-size:30px;'>秋叶资源网</span>: 阿里云四栏文本介绍引导区块 - wordpress区块-曾经到临过沧海

本文授权来自:https://www.npc.ink


<!DOCTYPE html>
<html lang="zh-CN" >
	<head>
		<title>WordPress区块 - Npcink</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	</head>
	<body>


<!--复制开始-->
<!--
	版本:1.0
	整理:Muze
	帮助:https://www.npc.ink/16027.html
-->


<div class="n-bg">
	<div class="n-container">
		<div class="n-title">多款配置满足您的不同需求 - Npcink</div>
		<div class="n-main">
			<div class="n-box">
				<div class="main-box">
					<h3>基础版<i>年付优惠</i></h3>
					<div class="line"></div>
					<ul>
                  
						<li>1核CPU 1GB内存 <i class="dbl-icon-base dbl-icon-base-feedback">
						  <div class="con">
							<div class="f-txt"></div>
							<div class="triangle_border_down">
								<span></span>
							</div>
						  </div>
						</i>
						
						</li><li>40GB SSD <i class="dbl-icon-base dbl-icon-base-feedback">
						  <div class="con">
							<div class="f-txt"></div>
							<div class="triangle_border_down">
								<span></span>
							</div>
						  </div>
						</i>
						
						</li><li>3Mbps 峰值带宽 <i class="dbl-icon-base dbl-icon-base-feedback">
						  <div class="con">
							<div class="f-txt"></div>
							<div class="triangle_border_down">
								<span></span>
							</div>
						  </div>
						</i>
						
						</li><li>500GB 流量包 <i class="dbl-icon-base dbl-icon-base-feedback" style="display: inline-block;">
						  <div class="con">
							<div class="f-txt">每月固定配额</div>
							<div class="triangle_border_down">
								<span></span>
							</div>
						  </div>
						</i>
						
					  </li></ul>

					  <div class="info">
						<img src="" class="dis">
						<div class="price">¥<em>969/年<i></i></em>起</div>
					  </div>

					  <a href="#" target="_blank" class="pc-btn dn-btn dn-btn-ghost dn-btn-light">立即购买</a>

				</div>
			</div>
			<div class="n-box">
				<div class="main-box">
					<h3>通用版 <i>年付优惠</i></h3>
					
					<div class="line"></div>
					<ul>
					  
					  <li>1核CPU 2GB内存 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>40GB SSD <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>5Mbps 峰值带宽 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>1000GB 流量包 <i class="dbl-icon-base dbl-icon-base-feedback" style="display: inline-block;">
						<div class="con">
						  <div class="f-txt">每月固定配额</div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					</li></ul>
					<div class="info">
					  <img src="" class="dis">
					  <div class="price">¥<em>1479/年<i></i></em></div>
					</div>
					<a href="#" target="_blank" class="pc-btn dn-btn dn-btn-ghost dn-btn-light">立即购买</a>
					
				</div>
			</div>
			<div class="n-box">
				<div class="main-box">
					<h3>增强版 <i>年付优惠</i></h3>
					
					<div class="line"></div>
					<ul>
					  
					  <li>2核CPU 4GB内存 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>60GB SSD <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>8Mbps 峰值带宽 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>1500GB 流量包 <i class="dbl-icon-base dbl-icon-base-feedback" style="display: inline-block;">
						<div class="con">
						  <div class="f-txt">每月固定配额</div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					</li></ul>
					<div class="info">
					  <img src="" class="dis">
					  <div class="price">¥<em>2652/年<i></i></em></div>
					</div>
					<a href="#" target="_blank" class="pc-btn dn-btn dn-btn-ghost dn-btn-light">立即购买</a>
					
				</div>
			</div>
			<div class="n-box">
				<div class="main-box">
					<h3>旗舰版 <i>年付优惠</i></h3>
					
					<div class="line"></div>
					<ul>
					  
					  <li>2核CPU 8GB内存 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>80GB SSD <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>10Mbps 峰值带宽 <i class="dbl-icon-base dbl-icon-base-feedback">
						<div class="con">
						  <div class="f-txt"></div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					  </li><li>2000GB 流量包 <i class="dbl-icon-base dbl-icon-base-feedback" style="display: inline-block;">
						<div class="con">
						  <div class="f-txt">每月固定配额</div>
						  <div class="triangle_border_down">
							  <span></span>
						  </div>
						</div>
					  </i>
					  
					</li></ul>
					<div class="info">
					  <img src="" class="dis">
					  <div class="price">¥<em>3672/年<i></i></em></div>
					</div>
					<a href="#" target="_blank" class="pc-btn dn-btn dn-btn-ghost dn-btn-light">立即购买</a>
				</div>
			</div>
		</div>
	</div>
</div>

<style type="text/css">

.n-bg {
    box-sizing: border-box;
    padding-top: 80px;
    padding-bottom: 72px;
    background-color: #373d41;
    height: 600px;
}
.n-container {
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    min-width: 1200px;
    max-width: 1200px;
}
.n-title {
    margin-bottom: 50px;
    font-size: 24px;
    color: #fff;
    line-height: 36px;
    text-align: center;
}
.n-main {
    margin-right: -10px;
    margin-left: -10px;
    min-width: 1200px;
}
.n-box {
    width: 23.3%;
    float: left;
    padding-right: 10px;
    padding-left: 10px;
    position: relative;
    min-height: 1px;
}
.main-box {
    font-style: normal;
    padding: 20px 20px 36px;
    background: #fff;
    box-shadow: 0 2px 20px 0 rgba(0,0,0,.15);
    border-top: 6px solid #1f2325;
    transition: all .3s ease;
    position: relative;
    min-height: 1px;
}
.main-box:hover {
    box-shadow: 0 2px 20px 0 rgba(0,0,0,.4);
    border-top-color: #ff6a00;
}
.main-box h3 {
    margin: 0 0 8px;
    font-weight: 400;
    font-size: 22px;
    color: #373d41;
    margin-top: 17px;
}
.main-box h3 i {
    font-size: 12px;
    color: #ff9c00;
    line-height: 16px;
    border: 1px solid #ff9c00;
    font-style: normal;
    display: inline-block;
    min-width: 43px;
    padding: 0 5px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 5%;
    right: 0;
    margin-right: 11%;
}
.main-box .line {
    width: 100%;
    height: 2px;
    border: 1px solid #ebecec;
    opacity: .6;
    margin-bottom: 15px;
}

.main-box ul {
    margin-bottom: 20px;
}
.main-box ul li {
    padding-left: 20px;
    font-size: 14px;
    color: #373d41;
    line-height: 2.2;
    background: url(./img/TB1XdhVX4z1gK0jSZSgXXavwpXa-32-26.png) no-repeat 0;
    background-size: 12px auto;
}
.main-box ul li i {
    display: none;
    position: relative;

    font-family: "dbl-icon-base" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
}

.main-box ul li i .con{
    font-size: 12px;
    color: #777f84;
    letter-spacing: 0;
    text-align: justify;
    line-height: 18px;
    background: #fff;
    border: 1px solid #d7d8d9;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.15);
    width: 180px;
    height: 50px;
    margin: 0 auto;
    line-height: 50px;
    text-align: center;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    display: none;
    position: absolute;
    top: -62px;
    left: -105px;
}

.main-box ul li i .con .f-txt {
    line-height: 50px;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.main-box ul li i .con .f-txt .triangle_border_down {
    position: relative;
    background: #fff;
}
.main-box .info {
    position: relative;
    margin-bottom: 15px;
}
.main-box .info .dis {
    position: absolute;
    left: 0;
    top: -16px;
    height: 16px;
}
.main-box .info .price {
    font-size: 20px;
    color: #ff9c00;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}
.main-box .info .price em {
    font-size: 20px;
    color: #ff9c00;
    font-style: normal;
    margin-right: 5px;
    letter-spacing: 2px;
    margin-left: 3px;
}
.main-box .info .price em li {
    font-size: 16px;
    font-style: normal;
}
.main-box .dn-btn {
    display: block;
    width: 100%;
    font-size: 14px;
    height: 36px;
    line-height: 34px;
    color: #ff6a00!important;
    border-color: #ff6a00!important;
    box-shadow: none;
    border-style: solid;
    margin: 0;
    padding: 0 24px;
    border-width: 1px;
    outline: 0;
    position: relative;
    
    font-style: normal;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    transition: all .1s ease-out;
    
    border-radius: 0;
    
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
    text-transform: none;
    text-decoration: none;
}
.main-box .dn-btn:hover {
    color: #fff!important;
    background: #ff6a00!important;
}

</style>




<!--复制到此为止-->
<link href="style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="demo.js"></script>

<style type="text/css">

</style>

<script type="text/javascript">

</script>


<h2 class="n-title">右键鼠标选择“查看网页源代码”依据注释进行操作</h2>

<style type="text/css">
body {
	padding: 0px;
	margin: 0px;
	background-color: #373d41;
}

ul {
	padding-left: 0px;
}
ul li {
	list-style: none;
	margin-left: 0;
}
    .n-title {
		text-align: center;
		padding-top: 50px;
	}

</style>

</body>
</html>

 

人已赞赏
Wordpress教程

wx域名安全检测API

2020-5-15 12:26:43

Wordpress教程

网易云音乐赞赏计划三栏介绍卡片 - wordpress区块

2020-5-21 11:31:42

免责声明 秋叶资源网的资源均来自于互联网,仅为资源共享、学习参考之目的,其版权均归原作者及其网站所有。
如有侵权烦请发送邮件至:qiuyegen@qq.com
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
有新消息 消息中心
搜索
WordPress美化 - Npcink