css文本超出显示点点....

时间:2021-04-24 13:14:57   收藏:0   阅读:0
<style>
    
	.jsj-class {
		width: 300px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
</style>

  

1 <div class="jsj-class"></div>

效果图:

技术图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!