zoukankan      html  css  js  c++  java
  • layui社区源码笔记之user-rank

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
    .fly-panel-title {
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
    }
    .leifeng-rank {
    margin-bottom: 15px;
    padding-bottom: 15px;
    }
    .fly-panel {
    background-color: #fff;
    border-radius: 2px;
    }
    .leifeng-rank dl {
    margin-left: 15px;
    font-size: 0;
    }
    .leifeng-rank dd {
    position: relative;
    65px;
    height: 85px;
    margin: 10px 15px 0px 0;
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    }

    .leifeng-rank dd a img {
    65px;
    height: 65px;
    border-radius: 2px;
    }
    .leifeng-rank dd a cite {
    position: absolute;
    bottom: 20px;
    left: 0;
    100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: rgba(0,0,0,.2);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    }
    .leifeng-rank dd a i {
    position: absolute;
    bottom: -5px;
    left: 0;
    100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    }
    </style>
    </head>
    <body>
    <div class="fly-panel leifeng-rank">
    <h3 class="fly-panel-title">近一月回答榜 - TOP 12</h3>
    <dl>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    <dd>
    <a href="user/home.html">
    <img src="../res/images/avatar/default.png">
    <cite>纸飞机</cite>
    <i>159次回答</i>
    </a>
    </dd>
    </dl>
    </div>
    </body>
    </html>

    效果

    
    
  • 相关阅读:
    Vue中 el-table大数据量加载,不分页,节省内存的性能优化
    http请求中Content-Type以及qs.stringify的使用
    setTimeout用法(Event Loop简介、for循环中应用、vue中应用)
    Vue中关于图片路径配置的填坑日记
    WebSocket
    Vue中mockjs的使用
    Vue 作用域插槽slot slot-scope v-slot
    Windows Server 2003搭建邮件服务器
    Exchange 2010的部署
    Exchange 2010 详细安装步骤
  • 原文地址:https://www.cnblogs.com/kamibaba/p/6629077.html
Copyright © 2011-2022 走看看