扫码关注官方订阅号
当英文单词再容器自动换行时,如何再换行的末端添加一个“-”链接符?是否可实现 ?
人生最曼妙的风景,竟是内心的淡定与从容!
使用 hyphens:auto
https://github.com/mnater/hyphenator
你说的这个到没见过。不过你可以使用css3的word-break:normal|break-all|keep-all;属性规定自动换行的处理方法。有人写过这样的js插件也不一定。
word-break:normal|break-all|keep-all;
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
使用 hyphens:auto
https://github.com/mnater/hyphenator
你说的这个到没见过。不过你可以使用css3的
word-break:normal|break-all|keep-all;属性规定自动换行的处理方法。有人写过这样的js插件也不一定。