模仿京东淘宝的物流跟踪模板样式

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
        <style>
            body,
            html {
                background-color: #f2f2f2;
            }
            ul,li{
                list-style: none;
            }
            .order_track {
                background-color: #fff;
                margin-bottom: 0.5em;
                padding: 0.5em;
            }

            .order_track p {
                font-size: 1.0em;
                line-height: 1.5;
                color: #666;
                margin-bottom: 0;
            }

            .order_track p span {
                color: #333;
            }

            .order_logistics{
                padding-left: 2.0em;
                background-color: #fff;
            }

            .order-flow {
                padding-left: 0em;
                padding-bottom: 1.0em;
                position: relative;
            }
            .order-flow:before{
                content: '';
                position: absolute;
                width: 200%;
                height: 200%;
                border-left: 1px solid rgb(230, 230, 230);/* 直接改变border的位置即可 */
                -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
                -webkit-transform: scale(0.5, 0.5);
                transform: scale(0.5, 0.5);
                box-sizing: border-box;
            }

            .of-storey li {
                position: relative;
                padding: 10px;
                /* border-bottom: 1px solid #e8e5e5; */
            }
            .of-storey li:after{
                content: " ";
                position: absolute;
                left: 0;
                width: 100%;
                height: 1px;
                bottom: 0;
                border-bottom: 1px solid rgb(230, 230, 230);
                -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
                -webkit-transform: scaleY(.5);
                transform: scaleY(.5);
            }

            .of-storey li span {
                display: block;
                font-size: 1.0em;
                color: #666;
            }

            .of-storey li span.time {
                font-size: 0.9em;
                color: #999;
            }

            .of-storey li .icon {
                position: absolute;
                top: 45%;
                left: -2.75em;
                width: 9px;
                height: 9px;
                border-radius: 5px;
                background-color: #ccc;
            }

            .of-storey li .icon.on {
                background-color: #0099ff;
            }
        </style>
    </head>
    <body>
        <div class="order_logistics">
            <div class="order-flow">
                <ul class="of-storey">
                    <li>
                        <span class="icon on"></span>
                        <span>快递快递快递快递快递快递</span>
                        <span class="time">2017-03-04 9:26</span>
                    </li>
                </ul>
            </div>
        </div>
    </body>
</html>

 

转载于:https://www.cnblogs.com/moumou0213/p/6500715.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值