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属性怎样用的细致内容,更多请关注ki4网别的相干文章!