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

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--<link rel="stylesheet" href="../res/css/global.css">-->
    <style>
    h1, h2, h3 {
    font-size: 14px;
    font-weight: 400;
    }
    blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    .fly-list .fly-list-li {
    position: relative;
    height: 45px;
    margin-top: 0;
    padding: 10px 0 10px 75px;
    border-bottom: 1px dotted #E9E9E9;
    }
    li {
    list-style: none;
    }
    .fly-list-li .fly-list-avatar {
    position: absolute;
    left: 15px;
    top: 10px;
    }
    a {
    color: #333;
    text-decoration: none;
    }
    .fly-list-avatar img {
    45px;
    height: 45px;
    border-radius: 2px;
    }
    img {
    display: inline-block;
    border: none;
    }
    .fly-list-li h2 a {
    max- 86%;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    }
    .fly-list-li h2 {
    line-height: 26px;
    }
    a {
    color: #333;
    }
    .fly-list-li p {
    position: relative;
    line-height: 20px;
    font-size: 12px;
    color: #999;
    }
    .fly-list-li p span {
    padding-right: 15px;
    }
    .fly-list-hint {
    position: absolute;
    right: 0;
    top: -2px;
    }
    </style>
    </head>
    <body>
    <ul class="fly-list">
    <li class="fly-list-li">
    <a href="user/home.html" class="fly-list-avatar">
    <img src="../res/images/avatar/default.png" alt="">
    </a>
    <h2 class="fly-tip">
    <a href="jie/detail.html">关于layui 引用其他插件,扩展模块 的用法</a>
    </h2>
    <p>
    <span><a href="user/home.html">用户昵称</a></span>
    <span>1小时前</span>
    <span>layui框架综合</span>
    <span class="fly-list-hint">
    <i class="iconfont" title="回答">�</i> 8
    <i class="iconfont" title="人气">�</i> 106
    </span>
    </p>
    </li>
    <li class="fly-list-li">
    <a href="user/home.html" class="fly-list-avatar">
    <img src="../res/images/avatar/default.png" alt="">
    </a>
    <h2 class="fly-tip">
    <a href="jie/detail.html">关于layui 引用其他插件,扩展模块 的用法</a>
    </h2>
    <p>
    <span><a href="user/home.html">用户昵称</a></span>
    <span>1小时前</span>
    <span>layui框架综合</span>
    <span class="fly-list-hint">
    <i class="iconfont" title="回答">�</i> 8
    <i class="iconfont" title="人气">�</i> 106
    </span>
    </p>
    </li>


    </ul>
    </body>
    </html>

    效果:

    
    
  • 相关阅读:
    IEnumerable<T>接口主要成员
    SQL LinqToSql Lambda QA
    css网页布局兼容性有哪些要点与诀窍
    【转】解决大量图片造成的页面延迟
    C# override,new 的区别+C# 接口的显示实现和隐示实现
    ap_invoice_distributions_all到xla_ae_lines
    Mysql从索引原理对SQL分析优化实战
    如何实现IM表情、图片、文件之间的通讯?
    五步教你如何使用k8s快速部署ES
    ClickHouse MergeTree引擎的简单介绍
  • 原文地址:https://www.cnblogs.com/kamibaba/p/6629221.html
Copyright © 2011-2022 走看看