Hello fellow programmers on stackoverflow,
I am curious if it is feasible to utilize an iframe as a background using CSS?
Allow me to elaborate:
Currently, I have a div named "lead" on my website.
Whenever this div is used in my HTML files, the image 'lead_photo.jpg' appears as a background.
The following CSS code is what enables this functionality:
#lead { position: relative; float: left; clear: both;
width: 100%; height: 300px;
background: #dbdbdb url(../images/lead_photo.jpg) center no-repeat; }
Everything is working smoothly up until this point.
Now, I am interested in showcasing my "google business view-tour" by integrating it through an iframe link as the background on my website instead of the current photograph.
Do you think this is achievable?