View Single Post
Old 03-03-2018, 07:49 PM  
venus
Confirmed User
 
venus's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Phoenix, Az
Posts: 3,112
I have that, but I need to add <amp-img src= to the image so I can add the responsive tag so it can auto resize

Quote:
Originally Posted by Colmike7 View Post
In head:
<style amp-custom>
.img-background { background-image: url(/image.jpg); }
</style>

Html:
<pre>
<div class="img-background"></div>
</pre>
__________________
Muscle/Fitness Adult Affiliate Program
Since 1997 www.venuscash.com
venus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote