Answer the question
In order to leave comments, you need to log in
How to make responsive image in html?
There is a situation when google Adsense does not display ads, the page is not indexed, and other reasons. Because of this, I decided to add alternative advertising in the form of banners to my products. I made an excellent 750x280 banner in Figma, but unfortunately on some devices it is cut off. Is it possible to make the image shrink to fit the screen? I think to implement through html, but unfortunately I do not know how to do it. The banner is simple:
dark background, rounding 60
from the center, a small diffuse glow
in the center of the text
Answer the question
In order to leave comments, you need to log in
If the image is a background image with a size of cover, then you need to make the container and text adaptive, and not the image itself. Nothing more to say without a link to an example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question