在IE10中无法遮罩button按钮

<input type="button" value="76576" />
<div style="background-color:transparent;z-index:1000; position:absolute;top:0;left:0; width:300px;height:200px;border:1px solid red">

</div>

 

改为css3的background-color:rgba(0,0,0,0);即可成功遮罩//前三个值是red green blue 最后一个数为透明度alpha范围0~1;代码如下:

<input type="button" value="76576" />
        <div style="background-color:rgba(0,0,0,0);z-index:1000; position:absolute;top:0;left:0; width:300px;height:200px;border:1px solid red">
           
        </div>

 

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2021-09-17
  • 2021-10-01
  • 2021-11-11
  • 2021-07-25
  • 2021-04-30
猜你喜欢
  • 2021-12-30
  • 2021-10-01
  • 2021-12-25
  • 2022-12-23
  • 2021-10-01
  • 2021-10-01
  • 2021-05-22
相关资源
相似解决方案