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>

    效果

    
    
  • 相关阅读:
    正确显示textarea中输入的回车和空格
    HmacSHA256算法(C# 和 Java)
    Java RSA分段加密
    穿越古代我能做啥?
    DOS常用命令
    C#泛型学习
    一步一步搭建Nuget私服
    深入理解HTTP协议
    PowerDesigner设置code和name不联动的方法
    log4net通过代码控制按分类输出
  • 原文地址:https://www.cnblogs.com/kamibaba/p/6629077.html
Copyright © 2011-2022 走看看