I am trying to resize an img with a percentage of itself. For example, I just want to shrink the image by half by resizing it to 50%. But applying width: 50%; w
width: 50%;
This is a not-hard approach:
then in css: div { position: absolute; } img, div { width: ##%; height: ##%; }