Stretch and scale CSS background

前端 未结 16 2001
难免孤独
难免孤独 2020-11-22 02:28

Is there a way to get a background in CSS to stretch or scale to fill its container?

16条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 02:55

    Use the border-image : yourimage property to set your image and scale it upto the entire border of your screen or window .

提交回复
热议问题