CSS
似曾~相识
这个作者很懒,什么都没留下…
展开
-
弹性布局 (父盒子设置display:flex)
1.主轴方向的使用: flex-direction默认从左到右:flex-direction:row;从又到左对齐 :flex-direction:row-reverse;从上到下对齐 :flex-direction:column;从下到上对齐 :flex-direction...原创 2019-11-27 14:07:58 · 732 阅读 · 0 评论 -
CSS 文本内容超出两行显示...
//文字超出一行显示…white-space: nowrap;text-overflow: ellipsis;overflow: hidden;word-break: break-all;//文字超出两行显示…text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display:...原创 2019-09-14 23:08:03 · 168 阅读 · 0 评论