Fixed background cover becomes zoomed in mobile view

前端 未结 3 1345
难免孤独
难免孤独 2021-02-14 10:06

I\'m using a fixed background cover for my website here: http://www.datisdesign.com

Every page has a big header image, but in small devices such as mobiles, the cover im

3条回答
  •  借酒劲吻你
    2021-02-14 10:44

    Here you go :)

    Add the below to your style...

    background-size:100%;
    width:100%;
    

    I hope this helps

提交回复
热议问题