zoukankan      html  css  js  c++  java
  • 纯css分步操作的样式

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>纯css分步操作的样式-jq22.com</title>
    <script src="https://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
    <style>
    .cerate_shop_ul {
        width:1205px;
    }
    .cerate_shop_ul li {
        display:inline-block;
        position:relative;
        margin-right:5px;
        line-height:50px;
        height:50px;
        width:232px;
        background:#EBEBEB;
        text-align:center;
    }
    .cerate_shop_ul li:first-child:before {
        border:0
    }
    .cerate_shop_ul li:last-child:after {
        border:0
    }
    .cerate_shop_ul li:before {
        position:absolute;
        left:0;
        top:0;
        height:0;
        width:0;
        border-bottom:25px inset transparent;
        border-left:25px solid #fff;
        border-top:25px inset transparent;
        content:""
    }
    .cerate_shop_ul li:after {
        position:absolute;
        right:-25px;
        top:0;
        height:0;
        width:0;
        border-bottom:25px inset transparent;
        border-left:25px solid #EBEBEB;
        border-top:25px inset transparent;
        content:"";
        z-index:2
    }
    .cerate_shop_ul .active {
        color:#fff;
        background:#FF6162
    }
    .cerate_shop_ul .active:after {
        border-left-color:#FF6162
    }
    </style>
    </head>
    <body>
    <ul class="cerate_shop_ul">
        <li  style="z-index: 5;">创建店铺</li>
        <li class="active" style="z-index: 4;">选择功能模块</li>
        <li style="z-index: 3;">确认订购信息</li>
        <li style="z-index: 2;">确认付款</li>
        <li style="z-index: 1;">订购成功</li>
    </ul>
    
    <script>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>纯css分步操作的样式-jq22.com</title>
    <script src="https://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
    <style>
    .cerate_shop_ul {
        width:1205px;
    }
    .cerate_shop_ul li {
        display:inline-block;
        position:relative;
        margin-right:5px;
        line-height:50px;
        height:50px;
        width:232px;
        background:#EBEBEB;
        text-align:center;
    }
    .cerate_shop_ul li:first-child:before {
        border:0
    }
    .cerate_shop_ul li:last-child:after {
        border:0
    }
    .cerate_shop_ul li:before {
        position:absolute;
        left:0;
        top:0;
        height:0;
        width:0;
        border-bottom:25px inset transparent;
        border-left:25px solid #fff;
        border-top:25px inset transparent;
        content:""
    }
    .cerate_shop_ul li:after {
        position:absolute;
        right:-25px;
        top:0;
        height:0;
        width:0;
        border-bottom:25px inset transparent;
        border-left:25px solid #EBEBEB;
        border-top:25px inset transparent;
        content:"";
        z-index:2
    }
    .cerate_shop_ul .active {
        color:#fff;
        background:#FF6162
    }
    .cerate_shop_ul .active:after {
        border-left-color:#FF6162
    }
    </style>
    </head>
    <body>
    <ul class="cerate_shop_ul">
        <li  style="z-index: 5;">创建店铺</li>
        <li class="active" style="z-index: 4;">选择功能模块</li>
        <li style="z-index: 3;">确认订购信息</li>
        <li style="z-index: 2;">确认付款</li>
        <li style="z-index: 1;">订购成功</li>
    </ul>
    
    <script>
    
    </script>
    
    </body>
    </html>
    
    </script>
    
    </body>
    </html>

     转载:https://www.jq22.com/webqd2057

  • 相关阅读:
    《数据库原理》课程笔记 (Ch04-数据库管理系统)
    《数据库原理》课程笔记 (Ch03-数据库语言)
    《操作系统》课程笔记(Ch07-死锁)
    《数据库原理》课程笔记 (Ch02-数据模型)
    《数据库原理》课程笔记 (Ch01-引论)
    《计算机网络》课程笔记 (Ch02-应用层)
    《ES6标准入门》读书笔记 第5章
    《ES6标准入门》读书笔记 第4章
    《ES6标准入门》读书笔记 第3章
    《计算机网络》课程笔记 (Ch01-计算机网络和因特网)
  • 原文地址:https://www.cnblogs.com/yehuisir/p/14380261.html
Copyright © 2011-2022 走看看