CSS counters - only used with content?

According to spec, can / will CSS counters are used only in conjunction with the content property?

 * { content: counter(mycounter) "! "; counter-increment: mycounter } 

Or can other properties be / will be used, such as (random example) padding ?

 /* is this possible? is this supposed to be possible? */ * { padding:counter(mycounter)px; } 

Finally, if this is a feature of CSS, how much is it implemented in browsers?

+4
source share

Source: https://habr.com/ru/post/1343445/


All Articles