A horizontal rule, HR, set with background image and border:0 to disappear in Safari browser.
The fix is to add 1 pixel padding. You can use the below CSS line to target Safari:
@media all and (-webkit-min-device-pixel-ratio:0)
{
code here
}
Example of fix in usage:
@media all and (-webkit-min-device-pixel-ratio:0) {
hr { padding:1px; }
}
Looking for more? See all posts on the blog.
