Closed jakedcolbert closed 1 year ago
Q: How should we deal with different resolutions of devices?
Scripture App Builder will have navigation drawer images in multiple resolutions:
Research on <img>
tag handling multi resolutions
Take a look:
https://www.w3schools.com/Css/css_rwd_images.asp
<picture>
element<img>
as a fallback for browsers that don't support <picture>
https://www.w3schools.com/html/html_responsive.asp
General article about responsive icons
Navigation Drawer images will be in:
images/nav_drawer.png images/nav_drawer@2x.png
You can try something like this:
<picture>
<source src="images/nav_drawer.png" srcset="images/nav_drawer@2x.png 2x" />
<img src="images/nav_drawer.png" alt="Drawer Header" style="width:auto;" />
</picture>