通过css将文字进行截断,截断部分使用省略号代替

.impleName{
max-width: 100%; /*最大宽度为当前元素的100%*/
display: inline-block;
white-space: nowrap;/*保证文本内容不会自动换行,如果多余的内容会在水平方向撑破单元格*/
overflow: hidden; /*隐藏超出单元格的部分*/
text-overflow: ellipsis; /*将被隐藏的那部分用省略号代替*/
}
												

最新文章

  1. APP里如何添加本地文本
  2. 点击按钮跳出隐藏的div层,并设背景。
  3. 第五章 springboot + mybatis(转载)
  4. Scrum会议10.19
  5. 【转】单例模式(python/c++)
  6. jQuery获取表单各元素的值
  7. python模块之hashlib加密
  8. .net 资源
  9. python语言学习1——初识python
  10. Google IP
  11. the c programing language 学习过程6
  12. ORA-12514:TNS:lisntener does not currently know of service requested in connect descriptor
  13. Constructing continuous functions
  14. Nginx代理MysqlCluster集群
  15. php数组函数有哪些操作?php数组函数的应用
  16. 转://Oracle 11gR2 ASM磁盘组管理
  17. 第9章 应用层(4)_超文本传输协议HTTP
  18. 如果从码云上git clone项目
  19. The Suspects POJ 1611
  20. 并不对劲的bzoj3677:p3647:[APIO2014]连珠线

热门文章

  1. Acunetix Web Vulnerability Scanner abbr. AWVS
  2. Python3基础 内置函数 hash
  3. 超级简单的checkbox赋值,用于记住登陆名
  4. python哲学
  5. k8s记录-dockerfile
  6. matlab基本函数find
  7. NativeExcel3使用示例
  8. ios开发将截图保存到相册
  9. 123457123456#0#-----com.tym.BaoBaoiMiYu12--前拼后广--趣味谜语tym
  10. 迅速生成项目-vue-cli-service