search

Home  >  Q&A  >  body text

javascript - When the bootstrap modal pops up, the mask layer is opaque under IE8

I see that the source code of bootstrap has processing for lower versions of IE, but when I switch to IE8, the background is completely black

曾经蜡笔没有小新曾经蜡笔没有小新2774 days ago916

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-24 11:38:10

    This problem should be that the css of the background is background:rgba(0,0,0,.5), but ie8 does not support rgba, which has a transparent background. You can define the css of the background separately for ie8, such as using a black transparent picture or ie For the filter method, it is recommended to use transparent images, as filters consume more resources

    reply
    0
  • Cancelreply