background-attachment: fixed on mobile
问题 I'm trying to set a background image for an spn web app and I need the background to be fixed (that it won't be scrolled with the rest of the page). this is the body css: body { background-color: rgb(51, 102, 102); background-image: url('../images/background.png'); background-attachment: fixed; background-position: center; color: #eee; } Safari in IOS and Chrome on Android repeat the background instead of fixing it at one point. I've seen on the internet it's been disabled on mobile but is