« Web, HTML, Tech Forum

How do you format a gif for mobile?

What's the code and where exactly do I add this code inside ?


EXAMPLE:

< a href="https://gifyu.com/image/SLPY1"><img src="https://s7.gifyu.com/images/contact-me.gif" alt="contact-me.gif"/> </a>

Where would I add code to format it for mobile view


Report Topic

1 Reply

Reply by EngiQu33ring

posted

You'll need to use a CSS media query. It queries the browser to see how big the screen is and performs certain behaviors at certain sizes. Be sure to give your HTML elements specific class names or it could end up making the page look way off.


Permalink Report Reply