css
y花落无痕y
这个作者很懒,什么都没留下…
展开
-
css文字超出显示...单行、多行
(1)单行.text{ line-height: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}(2)多行.text{ height: 3rem ;//firefox兼容问题,因为firefox不兼容display: -web原创 2016-11-07 15:02:44 · 422 阅读 · 0 评论 -
iphone手机overflow-y: iscroll 滑动卡
在容器元素上添加属性: -webkit-overflow-scrolling: touch;详细案例:查看案例原创 2016-11-07 15:10:48 · 1303 阅读 · 0 评论