在iOS上遇到覆盖问题

时间:2014-04-14 08:04:42

标签: html ios css

我的网络应用中有以下叠加层

<div class="hform overlay">
  <h3>Form caption</h3>             
  <form>
    <!-- here be some inputs -->                          
    <button type="submit">Show</button>         
  </form>                                       
</div> 
CSS中的

.container .overlay {
  display:none;
  position: absolute;
  z-index: 1000;
  background-color: rgba(255,255,255,0.90);
  width: 100%;
}

.container .hform.open {
  display: block;
}

当显示ovelay时,会添加类.open

问题是在iOS上无法击中&#34; Show&#34;按钮。有人可以告诉我为什么吗?

0 个答案:

没有答案