+ 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.

29th Dec 2017, 9:42 AM
Emmanouil Stafylarakis
Emmanouil Stafylarakis - avatar
2 Respuestas
+ 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
30th Dec 2017, 6:14 AM
Akash Pal
Akash Pal - avatar
+ 1
Thank you very much Pal!
29th Dec 2017, 12:26 PM
Emmanouil Stafylarakis
Emmanouil Stafylarakis - avatar