当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <style>
.p1{
width:200px;
border:1px solid #ccc;
word- break :normal;
}
.p2{
width:200px;
border:1px solid #ccc;
word- break :keep-all;
}
.p3{width:200px;
border:1px solid #ccc;
word- break : break -all;
}
</style>
</head>
<body>
<p class = "p1" >Php Chinese website provides a large number of free, original,
high-definition php video tutorials.</p>
<p class = "p2" >Php Chinese website provides a large number of free,
original, high-definition php video tutorials.</p>
<p class = "p3" >Php Chinese website provides a large number of free, original,
high-definition php video tutorials.</p>
</body>
|
效果图:

相关教程推荐:CSS视频教程
以上就是css自动换行怎么设置的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css怎么让图片横着排列
html5、css实现文字阴影效果实例分享
css hanging-punctuation属性怎么用
bootstrap 如何修改css样式
css %是什么单位
css list-style属性怎么用
css层叠样式表是什么
css如何修改字体
css3和less的区别是什么
css怎么实现超出两行显示省略
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css自动换行怎么设置