小白教程
所有教程
关于
Search
172.69.59.108
172.69.59.108
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Css3 pr hanging punctuation”的源代码
本页内容
上一节:
Css3_pr_text_emphasis
下一节:
Css3_pr_punctuation_trim
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:hanging-punctuation}}[[Category:css reference|192]] = CSS3 hanging-punctuation 属性 = p元素的第一行开始边缘放置一个标点符号: <sample title="" desc="" lang="html" hererun="1"> p { hanging-punctuation:first; } </sample> == 浏览器支持 == 表格中的数字表示支持该属性的第一个浏览器版本号。 {| class="table table-striped table-hover" ! 属性 ! Chrome ! Internet Explorer / Edge ! Firefox ! Safari ! Opera |- | hanging-punctuation | 不支持 | 不支持 | 不支持 | 不支持 | 不支持 |} 目前主流浏览器都不支持 hanging-punctuation 属性。 == 属性定义及使用说明 == hanging-punctuation属性指定一个标点符号是否会在启动或在结束时文本行框以外。 {| class="table table-striped table-hover" | 默认值: | none |- | 继承: | yes |- | 版本: | CSS3 |- | JavaScript 语法: | object.style.hangingPunctuation="first" |} == 语法 == <pre> hanging-punctuation: none|first|last|allow-end|force-end;</pre> {| class="table table-striped table-hover" ! 值 ! 描述 |- | none | 不在文本整行的开头还是结尾的行框之外放置标签符号。 |- | first | 标点附着在首行开始边缘之外。 |- | last | 标点附着在首行结尾边缘之外。 |- | allow-end | |- | force-end | |}
返回至“
Css3 pr hanging punctuation
”。
上一节:
Css3_pr_text_emphasis
下一节:
Css3_pr_punctuation_trim