盒子宽度跟随内容变化
width:fit-content;
width:-webkit-fit-content;//谷歌和苹果
width:-moz-fit-content;//火狐
超出内容显示省略号
//单行隐藏
overflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
//多行隐藏
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;