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

  • 相关阅读:
    二十一、继承,组合
    Python学习笔记(一):命令行界面扫雷(详细)
    九、Spring Cloud 之旅 -- Config 集群配置中心
    八、Spring Cloud 之旅 -- Zuul 微服务集群网关
    ACM搜索专题(BFS,DFS,记忆化搜索等)
    在Java中使用XPath快速优雅的读取XML, JAXB真的是太繁重
    七、Spring Cloud 之旅 -- Hystrix 微服务保护和容错机制
    记录一次网站信息收集的实战
    编程范式总结
    Java 原生API 实现zip和unzip (用文件和响应流两种方式)
  • 原文地址:https://www.cnblogs.com/yehuisir/p/14380261.html
Copyright © 2011-2022 走看看