• 移动端 一行两个li元素自适应


    外轮廓

      .search-banner {
        margin-top: 20px;
      }

    猜你想搜索

      .banner-title {
        padding-left: 15px;
        padding-right: 15px;
        line-height: 32px;
        color: #777;
      }
      .btn-banner {
        float: right;
        line-height: 32px;
        padding-left: 5px;
        padding-right: 5px;
      }

    一行两个li的自适应布局

      .keyword-list {
        overflow: hidden;
        list-style: none;
        margin-top: 10px;
      }
      .keyword-item {
        box-sizing: border-box;
        float: left;
        padding-left: 15px;
        padding-right: 15px;
        line-height: 28px;
        display: inline-block;
        width: 50%;
        color: #333;
        border-bottom: 1px solid #e8e8e8;
      }
      .keyword-item:nth-child(2n - 1) {
        /* 奇数 */
        border-right: 1px solid #e8e8e8;
      }
      .keyword-item:nth-child(1),
      .keyword-item:nth-child(2) {
        border-top: 1px solid #e8e8e8;
      }
      .one-line {
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
        white-space: nowrap;
      }
  • 相关阅读:
    中国式沟通
    10 表连接优化
    09 优化数据访问
    07 SQL优化技术
    06 执行计划
    04 系统和对象统计信息
    03 找出性能问题
    02 key concept
    Xpert 调优
    JavaWeb_常用功能_01_文件上传
  • 原文地址:https://www.cnblogs.com/pwindy/p/13083198.html
Copyright © 2020-2023  润新知