html如何设置溢出隐藏
时间:2022-02-11 16:29
html设置溢出隐藏的方法:1、单行设置溢出隐藏,代码为【overflow: hidden】;2、多行设置溢出隐藏,代码为【display: -webkit-box】。 本教程操作环境:windows7系统、html5版,DELL G3电脑。 html设置溢出隐藏的方法: 单行: 多行: 相关学习推荐:html视频教程 以上就是html如何设置溢出隐藏的详细内容,更多请关注gxlsystem.com其它相关文章!overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;