• ol序号并在序号加背景色


    <style type="text/css">

    .list {list-style-type: none;margin: 0;padding: 0 0 0 30px;}
    .list--ordered {counter-reset: list-counter;display: block;}
    .list--ordered .list__item::before {
    background: #ccc;
    color: white;
    content: counter(list-counter);
    counter-increment: list-counter;
    display: block;
    height:20px;
    left: 0;
    line-height:22px;
    position: absolute;
    text-align: center;
    20px;
    }
    </style>

    <ol class="list list--ordered">
    <li class="list__item">Widget learns and understands your vision.</li>
    <li class="list__item">Widget partners with you to move your product from concept to detailed plan and specifications.</li>
    <li class="list__item">Widget begins the search for your best sourcing option - auditing and vetting suppliers to meet pre qualification and well-defined standards.</li>
    <li class="list__item">Widget shares sourcing options, procurement process, quality concerns and pricing.</li>
    <li class="list__item">Widget’s sample/prototyping process begins. The sample lead time is determined your unique product.</li>
    <li class="list__item">Widget has a physical presence - serving as your representative - at the chosen manufacturer’s facility.</li>
    <li class="list__item">Widget performs pre, mid, and post quality control inspection.</li>
    <li class="list__item">Widget performs final pre-shipment inspections on-site.</li>
    <li class="list__item">Widget manages the logistics of delivering products from the manufacturer to your door - wherever you may be.</li>
    <li class="list__item">Widget follows-up with you to ensure your complete satisfaction!</li>
    </ol>

  • 相关阅读:
    实用分页小方法
    Android:Handler实现异步处理功能
    Android--sharepreference总结
    安卓 如何向数据库传值
    Activity 之间的传值
    Android 双击返回键退出程序 实现
    HttpUtitlity.UrlEncode
    android 如何设置背景的透明度
    比较Date时间先后
    iOS 判断字符串中含有某个字符串 rangeOfString
  • 原文地址:https://www.cnblogs.com/ince/p/10739011.html
Copyright © 2020-2023  润新知