css hanging-punctuation属性怎么用
导读: csshanging-punctuation属性定义及用法 在css中,hanging-punctuation属性是使用来指定一个标点符号是否会在启动或在结束时文本行框以外。该属性是css3中新增的属性,目前主流浏览器都还不支持该...
csshanging-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:本文转载自中文网
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: css hanging-punctuation属性怎么用
本文地址: https://pptw.com/jishu/664810.html