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

  • 相关阅读:
    leetcode-剑指10-OK
    leetcode-剑指22-OK
    vue组件引入
    vue项目单页
    vue-cli脚手架创建vue项目
    vue生命周期
    ES6 DEMO
    ES6
    记录一个天坑
    CentOS 7防火墙快速开放端口配置方法
  • 原文地址:https://www.cnblogs.com/ince/p/10739011.html
Copyright © 2020-2023  润新知