1 px by 1 px semi-transparent white repeating background image shows up grey in iOS
Frustrating problem, simple solution.
If you change the background image to 2 px by 2 px, the background image displays properly.
Written by Jamie Jo Vittetoe
Related protips
1 Response
Yup, this is retina display at work. An alternative is to add background-size: 100%.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Related Tags
#ios
#transparent
#web design
#front-end development
#sub-pixel rendering
#background image
#white
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#