CSS - Use counter() number as property's value

前端 未结 0 1985
日久生厌
日久生厌 2020-12-18 02:47

Say I want to increment the margin-top of an element according to it\'s index, using a counter() increment. Something like:

div {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题