返回顶部
首页 > 资讯 > 前端开发 > node.js >CSS3扁平化价格表代码怎么写
  • 371
分享到

CSS3扁平化价格表代码怎么写

2024-04-02 19:04:59 371人浏览 八月长安
摘要

这篇文章主要介绍了css3扁平化价格表代码怎么写的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇CSS3扁平化价格表代码怎么写文章都会有所收获,下面我们一起来看看吧。代码如下:&

这篇文章主要介绍了css3扁平化价格表代码怎么写的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇CSS3扁平化价格表代码怎么写文章都会有所收获,下面我们一起来看看吧。

代码如下:

<!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>

         <meta name="keyWords" content="CSS3,扁平化,价格表,样式代码" />

         <meta name="description" content="CSS3扁平化价格表样式代码。" />

         <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="js/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">

                                                                 <h4 class="heading">标准型</h4>

                                                                 <span class="price-value">

                                                                           <span class="currency">¥</span> 10

                                                                           <span class="month">/月</span>

                                                                 </span>

                                                        </div>

                                                        <div class="pricing-content">

                                                                 <ul>

                                                                           <li>50GB 硬盘空间</li>

                                                                           <li>50 邮箱账号</li>

                                                                           <li>50GB 月流量</li>

                                                                           <li>10 二级域名</li>

                                                                           <li>15 顶级域名</li>

                                                                 </ul>

                                                                 <a href="#" class="read">立即购买</a>

                                                        </div>

                                               </div>

                                     </div>

 

                                     <div class="col-md-3 col-sm-6">

                                               <div class="pricingTable">

                                                        <div class="pricingTable-header">

                                                                 <h4 class="heading">商务型</h4>

                                                                 <span class="price-value">

                                                                           <span class="currency">¥</span> 20

                                                                           <span class="month">/月</span>

                                                                 </span>

                                                        </div>

                                                        <div class="pricing-content">

                                                                 <ul>

                                                                           <li>60GB 硬盘空间</li>

                                                                           <li>60 邮箱账号</li>

                                                                           <li>60GB 月流量</li>

                                                                           <li>15 二级域名</li>

                                                                           <li>20 顶级域名</li>

                                                                 </ul>

                                                                 <a href="#" class="read">立即购买</a>

                                                        </div>

                                               </div>

                                     </div>

 

                                     <div class="col-md-3 col-sm-6">

                                               <div class="pricingTable">

                                                        <div class="pricingTable-header">

                                                                 <h4 class="heading">旗舰型</h4>

                                                                 <span class="price-value">

                                                                           <span class="currency">¥</span> 30

                                                                           <span class="month">/月</span>

                                                                 </span>

                                                        </div>

                                                        <div class="pricing-content">

                                                                 <ul>

                                                                           <li>70GB 硬盘空间</li>

                                                                           <li>70 邮箱账号</li>

                                                                           <li>70GB 月流量</li>

                                                                           <li>20 二级域名</li>

                                                                           <li>25 顶级域名</li>

                                                                 </ul>

                                                                 <a href="#" class="read">立即购买</a>

                                                        </div>

                                               </div>

                                     </div>

 

                                     <div class="col-md-3 col-sm-6">

                                               <div class="pricingTable">

                                                        <div class="pricingTable-header">

                                                                 <h4 class="heading">至尊型</h4>

                                                                 <span class="price-value">

                                                                           <span class="currency">¥</span> 40

                                                                           <span class="month">/月</span>

                                                                 </span>

                                                        </div>

                                                        <div class="pricing-content">

                                                                 <ul>

                                                                           <li>80GB 硬盘空间</li>

                                                                           <li>80 邮箱账号</li>

                                                                           <li>80GB 月流量</li>

                                                                           <li>25 二级域名</li>

                                                                           <li>30 顶级域名</li>

                                                                 </ul>

                                                                 <a href="#" class="read">立即购买</a>

                                                        </div>

                                               </div>

                                     </div>

                            </div>

                   </div>

         </div>

        

</body>

</html>

关于“CSS3扁平化价格表代码怎么写”这篇文章的内容就介绍到这里,感谢各位的阅读!相信大家对“CSS3扁平化价格表代码怎么写”知识都有一定的了解,大家如果还想学习更多知识,欢迎关注编程网node.js频道。

--结束END--

本文标题: CSS3扁平化价格表代码怎么写

本文链接: https://lsjlt.com/news/90196.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • CSS3扁平化价格表代码怎么写
    这篇文章主要介绍了CSS3扁平化价格表代码怎么写的相关知识,内容详细易懂,操作简单快捷,具有一定借鉴价值,相信大家阅读完这篇CSS3扁平化价格表代码怎么写文章都会有所收获,下面我们一起来看看吧。代码如下:&...
    99+
    2024-04-02
  • 怎么用CSS3代码书写平行四边形
    这篇文章给大家分享的是有关怎么用CSS3代码书写平行四边形的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。用css3的CSS3 transform 旋转的属性写出来,就是trans...
    99+
    2024-04-02
  • CSS3边框代码怎么写
    这篇文章主要介绍“CSS3边框代码怎么写”,在日常操作中,相信很多人在CSS3边框代码怎么写问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3边框代码怎么写”的疑惑有所帮...
    99+
    2024-04-02
  • php生成表格的代码怎么写
    生成表格的代码可以使用HTML和PHP的组合。下面是一个简单的示例:php这段代码使用了一个二维数组$data来存储表格数据。然后,...
    99+
    2023-10-20
    php
  • CSS3媒体查询代码怎么写
    这篇文章主要介绍“CSS3媒体查询代码怎么写”,在日常操作中,相信很多人在CSS3媒体查询代码怎么写问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”CSS3媒体查询代码怎么写”...
    99+
    2024-04-02
  • html空两格代码怎么写
    在 html 中创建空两格代码有两种方法:1. 使用   字符实体;2. 使用 css 设置元素间距。具体选择取决于固定空格需求和 css 样式影响需求。 HTML 中创建空两格代码的...
    99+
    2024-04-22
    css
  • vbs表白代码怎么写
    本文小编为大家详细介绍“vbs表白代码怎么写”,内容详细,步骤清晰,细节处理妥当,希望这篇“vbs表白代码怎么写”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新知识吧。1,右键->新建文本文件2,右键->编辑3...
    99+
    2023-06-30
  • navicat怎么用代码写表
    在 navicat 中使用代码创建表可通过以下步骤实现:连接到数据库。创建新查询。输入 create table 代码:create table [表名] ([列名] [数据类型] [约...
    99+
    2024-04-06
    navicat
  • 使用CSS3怎么编写田字格列表样式
    本篇文章为大家展示了使用CSS3怎么编写田字格列表样式,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。CSS<style>     &nb...
    99+
    2023-06-08
  • CSS空格间距代码怎么写
    这篇文章的内容主要围绕CSS空格间距代码怎么写进行讲述,文章内容清晰易懂,条理清晰,非常适合新手学习,值得大家去阅读。感兴趣的朋友可以跟随小编一起阅读吧。希望大家通过这篇文章有所收获!word-spacin...
    99+
    2024-04-02
  • 怎么编写插件机制优化基于Antd Table封装表格的混乱代码
    本篇内容介绍了“怎么编写插件机制优化基于Antd Table封装表格的混乱代码”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅...
    99+
    2024-04-02
  • vue中怎么格式化HTML代码
    本篇内容主要讲解“vue中怎么格式化HTML代码”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“vue中怎么格式化HTML代码”吧! 问题:一般用Shift+A...
    99+
    2024-04-02
  • 怎么用纯CSS3制作带动画效果的主机价格表
    本篇内容主要讲解“怎么用纯CSS3制作带动画效果的主机价格表”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“怎么用纯CSS3制作带动画效果的主机价格表”吧!网页上...
    99+
    2024-04-02
  • css3向标题添加阴影的代码怎么写
    本文小编为大家详细介绍“css3向标题添加阴影的代码怎么写”,内容详细,步骤清晰,细节处理妥当,希望这篇“css3向标题添加阴影的代码怎么写”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新...
    99+
    2024-04-02
  • c语言代码怎么写基本格式
    c语言基本格式包括:预处理指令(以井号开头,包含头文件或定义宏);函数声明(规定函数信息);全局变量声明(声明函数外可用变量);函数定义(包含函数主体);主函数(程序入口点);语句(指令...
    99+
    2024-04-05
    c语言
  • Flex代码格式化工具怎么用
    这篇文章主要为大家展示了“Flex代码格式化工具怎么用”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“Flex代码格式化工具怎么用”这篇文章吧。Flex代码格式化工具在做Flex编码的时候,调整编...
    99+
    2023-06-17
  • Flex代码格式化插件怎么用
    这篇文章主要为大家展示了“Flex代码格式化插件怎么用”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“Flex代码格式化插件怎么用”这篇文章吧。Flex代码格式化工具在对Flex进行编码的时候,如...
    99+
    2023-06-17
  • 怎么在IDEA中格式化SQL代码
    怎么在IDEA中格式化SQL代码?很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。1.1、建立连接,数据库服务器地址,账号,密码等…1.2、基本操作,很多,增删改查...
    99+
    2023-06-06
  • 怎么通过IDEA优化代码格式和风格
    通过IDEA(IntelliJ IDEA)可以很方便地优化代码格式和风格。以下是一些常用的方法: 使用代码格式化功能:IDEA提...
    99+
    2024-04-03
    IDEA
  • jQuery表单验证的代码怎么写
    这篇文章主要介绍“jQuery表单验证的代码怎么写”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“jQuery表单验证的代码怎么写”文章能帮助大家解决问题。 jQu...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作