![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2003
Location: Phoenix, Az
Posts: 3,112
|
who knows AMP (accelerated mobile page)
I am trying to make a background image responsive ( layout="responsive") but cannot find where to put the amp-img tag since the background image is in the css ..anyone know how to do it? this is the page I am working on
https://www.landofvenus.com/testit2.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,223
|
Quote:
<style amp-custom> .img-background { background-image: url(/image.jpg); } </style> Html: <pre> <div class="img-background"></div> </pre>
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,223
|
This should explain things, starting with "adding images"
https://webdesign.tutsplus.com/tutor...tch--cms-26158
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jan 2003
Location: Phoenix, Az
Posts: 3,112
|
looked at that already, I got the images down, those were easy because they are in the body of the page, the hard part is getting an image in a table to use responsive,like the below...there is no way to make the url background an amp image that I can find.
table.example-table { background-color: rgba(0, 0, 0, 0); background-image: url("https://www.landofvenus.com/imagesnew/main_new_BG4.jpg"); background-repeat: repeat; background-attachment: scroll; background-clip: border-box; background-origin: padding-box; background-position-x: 0%; background-position-y: 0%; background-size: auto auto; } Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Tags |
background, image, page, tag, css, amp-img, mobile, accelerated, amp, responsive, layout=responsive |