Currently, I am working on customizing a file input to display its content using a preview <img>
tag.
<div id="image_preview">
<input> .....
<img id="preview" src="" class="img-fluid" alt="">
</div>
While it displays correctly on Chrome, I encountered an issue on Firefox where a black stroke appears on every side of the square. I tried adjusting the CSS properties such as "border: none;" and setting a transparent background but they did not fix the problem. Any suggestions or hints?
Thank you for any assistance provided :)
https://i.sstatic.net/jslLr.png https://i.sstatic.net/VJp5J.png