div左右出现滚动条
<div className={style.ii}>
<div className={style.uu}>1</div>
<div className={style.uu}>2</div>
<div className={style.uu}>3</div>
<div className={style.uu}>4</div>
</div>
.ii {
margin-top: 50px;
width: 600px;
height: 60px;
overflow: auto;
white-space: nowrap;
.uu {
width: 50%;
height: 50px;
border: 1px solid red;
display: inline-block;
}
}
文本超出内容显示省略号
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
overflow : hidden;
white-space: normal;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
鼠标放上去修改默认样式
cursor: default;
cursor: pointer;
cursor: text;
cursor: e-resize;
cursor: w-resize;
cursor: zoom-in;
cursor: zoom-out;
文本不可选中
user-select: none;