I am currently working on creating several marked images that will adjust in size to fit the length of their content. This functionality works well on most browsers, except for those on iOS devices like iPhone and iPad.
Take a look at the image-link below to see how it appears on an iPad (top marked image) compared to how it should appear (and does on Windows and other browsers).
If anyone has a solution to this issue or can explain why it is only occurring on iOS, I would greatly appreciate it.
https://i.sstatic.net/rFg6c.png
&:after {
content: '';
position: absolute;
top: -5px;
left: -10px;
width: 100%;
height: 47px;
z-index: -1;
background-size: 100% 47px;
@include bg-retina('~img/layout/block-subtitle-light-blue', 'png', 158px, 47px);
}