+ 1
How many pixels equal 1%?
When resizing an image, how do we change the size of an image from 1% to pixels?
3 Antworten
+ 1
It depends of the size of the screen and it's resolution.
+ 1
I checked on SL and found out that 3px are equal to 1%. Check out my code:
https://code.sololearn.com/W8H7fYoo48rq/?ref=app
0
any size qualifiers except px and em depend on the size of the screen.
If you want to test how the element will look on a smaller screen, consider putting the entire document in an iframe that had a specific width and height.