Us image src url in CSS background image url using javascript or jquery
I’m novice at Javascript. I want to use an image src in CSS background image url using javascript. For example, <img class="user-profile-box-img" src="https://img.freepik.com/free-photo/portrait-young-man-using-mobile-phone-while-standing-outdoors_58466-16294.jpg"/> This is an image src to show image. I want to use the same image url in css background-image: url(""), so that I don’t need to write twice the same url. How… Read More Us image src url in CSS background image url using javascript or jquery