+ 1
img (height in px) and (width in %), and vice versa, could this make an exclusive performance either for a tablet or smartphone?
html's image exclusive adaptation for each device.
2 odpowiedzi
+ 2
Yes, this is a good idea. I have also tried it in my some codes and it really works (height in px and width in %) but you can also use the @media screen feature or you can say property of the css to make it responsive i.e. that it is able to manage itself in smartphones and tablets. Check out the w3schools links I am giving to you.
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
Here the example,
https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_media_example1
+ 1
Thank you very much Pal!