Payment and Settlement
当前位置:   article > 正文

利用div也能写出漂亮的表格_div做表格

div做表格

 需求

Html

  1. <div class="bottom-list">
  2. <div style="margin-bottom: 3px; font-size: 20px;color: #333;">Payment and Settlement</div>
  3. <div style=" background:#f9f9f9;display: flex;justify-content: center;">
  4. <div class="t-b-1">Deposit Amount</div>
  5. <div class="t-b-1">Balance Amount</div>
  6. <div class="t-b-1">Supplier's Delivery Time</div>
  7. <div class="t-b-1">Deposit payment Time</div>
  8. <div class="t-b-1"><li style="line-height: 40px;">Balance payment Time</li><li style="font-size: 12px;line-height: 0px">( before buyer's picking up at destination )</li></div>
  9. </div>
  10. <div style=" background:#fff;display: flex;justify-content: center;">
  11. <div class="t-b-2">$ 2500</div>
  12. <div class="t-b-2">$ 1600</div>
  13. <div class="t-b-2">2020-08-15</div>
  14. <div class="t-b-2">2020-08-12</div>
  15. <div class="t-b-2">2020-08-19</div>
  16. </div>
  17. </div>

 

CSS

  1. .bottom-list .t-b-1{
  2. border: 1px solid #f0f0f0;
  3. width: 20%;
  4. height: 50px;
  5. font-size: 14px;
  6. text-align: center;
  7. line-height: 50px;
  8. }
  9. .bottom-list .t-b-2{
  10. border: 1px solid #f0f0f0;
  11. width: 20%;
  12. height: 50px;
  13. text-align: center;
  14. line-height: 50px;
  15. }

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/767469
推荐阅读
相关标签