<identifier>

说明:

使用用户自定义标识名作为组件取值。
  • 自定义标识区分大小写,例如test与TEST是2个不同的值
  • 自定义标识不能使用与CSS属性及属性值相同的名字
  • 正常工作的例子:

    示例代码:

    li{counter-increment:testname;}
    li{counter-reset:testname2;}
    @keyframes testanimations{
    	from{opacity:1;}
    	to{opacity:0;}
    }
    
  • 无法工作的例子:

    示例代码:

    li{counter-increment:border;}
    li{counter-reset:background;}
    @keyframes auto{
    	from{opacity:1;}
    	to{opacity:0;}
    }
    

兼容性:

  • 浅绿 = 支持
  • 红色 = 不支持
  • 墨绿 = 部分支持
  • 橙色 = 实验性质
支持版本\类型 IE Firefox Safari Chrome Opera
版本 6-7 4 5.1.7 13 11.5
版本 8