zoukankan      html  css  js  c++  java
  • 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>

  • 相关阅读:
    中缀表达式std
    后缀表达式
    取石头游戏
    LeetCode404Sum of Left Leaves左叶子之和
    LeetCode387First Unique Character in a String字符串中第一个唯一字符
    简单排列习题2.5 的 2
    周期串Uva455 P37 3-4
    【递归】分形
    【递归】普通递归关系(矩阵快速幂)
    P3486 [POI2009]KON-Ticket Inspector
  • 原文地址:https://www.cnblogs.com/ince/p/10739011.html
Copyright © 2011-2022 走看看