repeat css background image a set number of times

后端 未结 6 1796
一向
一向 2020-11-30 07:46

is there a way to set the number of times a background image repeats with css?

6条回答
  •  一向
    一向 (楼主)
    2020-11-30 08:22

    Yes! You can set the background image size: background-size: 20%, 20%; This will make it repeat 5 times.

提交回复
热议问题