I have an arrow image that I need to display in different angles - top, left, bottom, right.
I was considering what would be the best approach: 1: Changing the image direction via CSS and loading the main image
<img src="a.png">
<img src="a.png" style="transform: rotate(90deg);">
<img src="a.png" style="transform: rotate(180deg);">
<img src="a.png" style="transform: rotate(270deg);">
2: Creating new images with each angle and utilizing them
<img src="a.png">
<img src="b.png">
<img src="c.png">
<img src="d.png">
Or is there another preferred method?
The most important factor is that this HTML will be used in an Android app, so even the smallest details are crucial. The entire HTML file will be called from the asset folder of the Android application.