Target Desktops or Target Mobile with Queries?

时间:2015-10-30 23:13:55

标签: ios css css3

Currently doing the simple parallax effect of background-attachment: fixed and background-size: cover only to realize that iOS does not want to play nice at all with background-attachment: fixed At this point given the repaint costs as well, I want mobile/tablet to not have background-attachment: fixed at all.

Which would be better, remove background-attachment: fixed from mobile or add it back in for desktop. Further more, which would be easier from a media query stand point. Repeating the same css over and over for different devices sounds like a bad time.

Also, trying to avoid JS as much as possible to maintain as much compatibility as I can with office computers who may have it disabled.

0 个答案:

没有答案