zoukankan      html  css  js  c++  java
  • 超出范围文字以...替代

    超出一行用...代替

    text-overflow:ellipsis ;
    white-space:nowrap ;
    overflow:hidden;

    超出多行用...代替 这里以两行来展现效果

        400px;
        margin:0 auto;
        overflow : hidden;
        border:1px solid #ccc;
        text-overflow: ellipsis;
        padding:0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height:30px;
        height:60px;
  • 相关阅读:
    js-依次循环异步请求(普通/ES6)
    jquery
    js
    selenium
    selenium
    selenium
    python
    selenium
    selenium
    selenium
  • 原文地址:https://www.cnblogs.com/Model-Zachary/p/6095308.html
Copyright © 2011-2022 走看看