©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
quotes:none | [<string> <string>]+
默认值:none
适用于:所有元素,::before, ::after, ::alternate, ::marker, ::line-marker, margin areas, @footnote areas, and @page context
继承性:有
动画性:否
计算值:指定值
none:content属性的open-quote和close-quote值将不会生成任何标记
<string>:定义content属性的open-quote和close-quote值的标记,2个为一组
对应的脚本特性为quotes。
Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support | 6.0-7.0 | 2.0+ | 4.0+ | 6.0+ | 15.0+ | 6.0+ | 2.1+ | 18.0+ |
8.0+ |
<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta charset="utf-8" /> <title>quotes_CSS参考手册_web前端开发参考手册系列</title> <meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" /> <style> q:lang(en){quotes:'[' ']' "<" ">";} q:lang(zh-cmn-Hans){quotes:"«" "»" '"' '"';} </style> </head> <body> <p lang="en"><q>Quote me <q>Quote me</q> Quote me!</q></p> <p lang="zh-cmn-Hans"><q>Quote me <q>Quote me</q> Quote me!</q></p> </body> </html>
点击 "运行实例" 按钮查看在线实例