Answers for "css how to make background image resizble in responsive same as web"

CSS
0

adding a perfect responsive background image

body {
    background-image: url('/your-image-url.png');
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;

}
Posted by: Guest on December-04-2021

Code answers related to "css how to make background image resizble in responsive same as web"

Browse Popular Code Answers by Language