css hanging-punctuation属性定义及用法
在css 中,hanging-punctuation属性是使用来指定一个标点符号是否会在启动或在结束时文本行框以外。该属性是css3中新增的属性,目前主流浏览器都还不支持该属性。
hanging-punctuation属性语法格式
css语法:hanging-punctuation: none/first/last/allow-end/force-end;
立即学习“前端免费学习笔记(深入)”;
JavaScript语法:object.style.hangingPunctuation="first";
hanging-punctuation属性值说明
none:不在文本整行的开头还是结尾的行框之外放置标签符号;
first:标点附着在首行开始边缘之外。
last:标点附着在首行结尾边缘之外。
allow-end:
force-end:
以上就是css hanging-punctuation属性怎么用的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号