1、图片处理-dp;
2、一像素边宽-position: absolute;border:1px solid #ddd;scaleY(0.5);
3、相对单位rem;
4、多行文本溢出处理text-overflow: ellipsis; word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 2;
2、一像素边宽-position: absolute;border:1px solid #ddd;scaleY(0.5);
3、相对单位rem;
4、多行文本溢出处理text-overflow: ellipsis; word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 2;
2017-06-30
实现不定宽高水平垂直居中方案,一、绝对定位top和left50%加translate(-50%,-50%) ;二、flex方法,justify-content: center;//子元素水平居中,align-items: center;//子元素垂直居中;display: flex;
2017-06-29