do I have to use images with fixed size in css or use some fixed size in html?
-
hello,
when I tried gmetrix and google insights I saw I had problem with images size.
I erased all of them and made only 1 as an example for header with 4 resolutions.
660-350 for mobile , 920-450 for tablet
1600-950 for laptop and 1920-950 for large screens.
I made also made page text images with 3 resolutions
360-350 for mobiles ,
660-350 and 920-400 for tablet,laptop and large screens.
to get benefit of this resolutions I think I have to paste all of them in media queries in style.css and not anymore in html?
my question is what do you think exactly do I have to use it in html or just in css with fixed sizes.
I have also converted the images to webP .
I have installed jetpack,litespeed cache free version and also added gzip code in htaccess plus I have just added wpcompress plug in .
I want to get the score about 90+ above or higher for everything in google insights and gmetrix.
I want to have the right idea from you which style is the best css or html.
I see with html you can use also in alt keywords for the images in place of image name?
I just want advice from professinal before I made my decision.
thanks
- The topic ‘do I have to use images with fixed size in css or use some fixed size in html?’ is closed to new replies.