根据规范,可以/将CSS计数器仅与content
属性一起使用吗?
* { content: counter(mycounter) "! "; counter-increment: mycounter }
或者/它们是否也可以与其他属性一起使用,例如(随机示例)padding
?
/*
is this possible?
is this supposed to be possible?
*/
* { padding:counter(mycounter)px; }
最后,如果这是CSS的一个功能,它在浏览器中的实现程度如何?