Skip to content

Instantly share code, notes, and snippets.

@zikkeung
Created July 23, 2013 10:15
Show Gist options
  • Save zikkeung/6061356 to your computer and use it in GitHub Desktop.
Save zikkeung/6061356 to your computer and use it in GitHub Desktop.
多背景CSS中中越靠前的图片越在上面显示,对于IE浏览器,滤镜所带来的背景是在上面显示的,由于滤镜的背景图无法定位
#multi-bg {
background: url(images/bg-image-1.gif) top left repeat;
background: url(images/bg-image-1.gif) center center no-repeat, url(images/bg-image-2.gif) top left repeat;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/bg-image-2.gif', sizingMethod='crop');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment