pre {
white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
CSS怎样令PRE内文本自动换行
最新内容
- 2 days 23 hours ago
- 3 days 14 hours ago
- 2 weeks 1 day ago
- 2 weeks 2 days ago
- 2 weeks 5 days ago
- 2 weeks 5 days ago
- 3 weeks 3 days ago
- 1 month 2 weeks ago
- 1 month 3 weeks ago
- 1 month 3 weeks ago
最新评论
- nb 5 months ago
- sfes 5 months 3 weeks ago
- 好强大,谢谢推荐! 7 months 3 weeks ago
- 建议使用Ventoy 7 months 3 weeks ago
- Debian 12不再区分自由固件和非自由固件版本 8 months 1 week ago
- 用户登录自动运行软件的方法 8 months 1 week ago
- 经沟通,这应该是因为安装程序白屏… 8 months 3 weeks ago
- It works for me. I don't… 8 months 3 weeks ago
- 尝试ubuntu mate 8 months 3 weeks ago
- 1 9 months 1 week ago
评论