Stretch and scale CSS background

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

    Another great solution for this is Srobbin's Backstretch which can be applied to the body or any element on the page - http://srobbin.com/jquery-plugins/backstretch/

提交回复
热议问题