quotes版本:CSS2 兼容性:无 继承性:无
语法:
quotes : none | string
取值:
none | :� | 默认值。 content 属性的 open-quote 和 close-quote 值将不会生成任何嵌套标记 |
string | :� | 用引号括起的嵌套标记定义。两个为一组。第一个 string 定义前标记(例:"<"),第二个 string 定义后标记(例:">")。组之间用空格格开。嵌套标记的应用深度按定义顺序内推 |
说明:
设置或检索对象内使用的嵌套标记。
对应的脚本特性为 quotes 。
对应的脚本特性为 quotes 。
示例:
blockquote[lang-=fr] { quotes: "\201C" "\201D" }
blockquote[lang-=en] { quotes: "\00AB" "\00BB" }
blockquote:before { content: open-quote }
blockquote:after { content: close-quote }
q { quotes: """ """ "'" "'"; }
<q>This is an <q>emedded</q> quote.</q>
显示结果如下:
"This is an 'embedded' quote."
blockquote[lang-=en] { quotes: "\00AB" "\00BB" }
blockquote:before { content: open-quote }
blockquote:after { content: close-quote }
q { quotes: """ """ "'" "'"; }
<q>This is an <q>emedded</q> quote.</q>
显示结果如下:
"This is an 'embedded' quote."