below is my code. I have text box on the page when I try to enter some text in its background image size is doubling. how to solve it?
body{
margin: 0px;
background-repeat: no-repeat;
background-size: 100% 100%;
min-height: 100vh;
background-position: center;
-webkit-background-size:cover; background-image: url("../src/images/highway.jpg");
background-attachment: fixed;
overflow-y: auto !important;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
@media (max-width: 991px) {
body{
-webkit-background-size:100% 100%;
background-size: 100% 100%;
background-position: center;
background-image: url("../src/images/highway-m.jpg");
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
-o-background-size: 100% 100%;
}
}