Stretch and scale CSS background

前端 未结 16 1989
难免孤独
难免孤独 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:47

    Not currently. It will be available in CSS 3, but it will take some time until it's implemented in most browsers.

提交回复
热议问题