取消表单轮廓:
outline:none;
防止文本框拖拽:
resize:none;
css三角做法:(其中一种,三角向下):
width:0
height:0
border-top:10px solid pink;
单文字溢出省略:
<一行显示>
white-space:nowrap;
<超过的隐藏>
overflow:hidden;
<用省略号替代超出部分>
text-overflow:ellipsis;
outline:none;
resize:none;
width:0
height:0
border-top:10px solid pink;
<一行显示>
white-space:nowrap;
<超过的隐藏>
overflow:hidden;
<用省略号替代超出部分>
text-overflow:ellipsis;