🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
| [DHTMLET®](http://www.dhtmlet.com) | [属性清单 ](#)| 相关内容:SEE ALSO------------------------------------------  include-source  quotes  counter-increment  counter-reset------------------------------------------  :after  :before | |-----|-----| content版本:CSS2  兼容性:NONE 继承性:无   语法:   **content :**** attr(alt) **|** counter(***name***) **|** counter(***name*, *list-style-type***) **|** counters(***name*, *string***) **|** counters(***name*, *string*, *list-style-type***) **|** no-close-quote **|** no-open-quote **|** close-quote **|** open-quote **|* string *|** url (***url***)**   参数:   ** attr(alt) : ** 使用alt特性的文字 ** counter(***name***) : ** 使用已命名的计数器 ** counter(***name*, *list-style-type***) : ** 使用已命名的计数器并遵从指定的[list-style-type](#)属性 ** counters(***name*, *string***) : ** 使用所有已命名的计数器 ** counters(***name*, *string*, *list-style-type***) : ** 使用所有已命名的计数器并遵从指定的[list-style-type](#)属性 ** no-close-quote : ** 并不插入[quotes](#)属性的后标记。但增加其嵌套级别 ** no-open-quote : ** 并不插入[quotes](#)属性的前标记。但减少其嵌套级别 ** close-quote : ** 插入[quotes](#)属性的后标记 ** open-quote : ** 插入[quotes](#)属性的前标记 *string : * 使用用引号括起的字符串 *url : * 使用指定的绝对或相对地址   说明:   用来和[:after](#)及[:before ](#)伪元素一起使用,在对象前或后显示内容。 目前IE5.5尚不支持此属性。 对应的脚本特性为**content**。请参阅我编写的其他书目。   示例:   p:after { content: url("http:www.devguru.com"); text-decoration: none; } p:before { content: url("beep.wav") }       苏沈小雨制作・保留所有权利 &copy2001 rain1977.comer . All rights reserved . Terms of Use .