I am trying to set background image which will take full image in every ratio of screen resolution. My code is works for specific screen resolution. If I reduce browser resolution smaller then 100% background image become cropped accordingly. But I don't want this. Here is my code. Thanks in advance
.background1 {
background: url('/images/home/background_img.png'),linear-gradient(270deg, rgba(4, 202, 160,
1) 0%, rgba(141, 198, 63, 1) 100%);
margin-top: -60px;
background-repeat:no-repeat;
-webkit-background-size:cover;
-moz-background-size:cover;
-o-background-size:cover;
background-size:100% 100%;
background-position:center;
}