When trying to achieve a bottom border on mobile, I encountered an unexpected issue where a strange line appeared instead in the browser. Here is an image of the problem: https://i.sstatic.net/PqEOF.jpg
I expected to see a straight line as intended (it works on Mac but not on the iPhone). My CSS code for this is:
outline:0 !important;
outline-width: 0;
border:none;
border-width: 0px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: rgb(54,71,112);