Question and answer is powered by AnsPress.io
I set a background image in my HTML page but it not set responsive and the image is repeat again. I want to set background image responsive with close image repeat from my page. How can I solve this problem?
image responsive in your HTML page use in css background-size and for stop image repeat use in css background-repeat: no-repeat. you can use directly in style attribute, for example:
style=”background:url(‘uploads/img.jpg’);background-size: 100% 100%;background-repeat: no-repeat;”