访问后链接不可点击

时间:2015-09-26 12:12:05

标签: html css layout hyperlink overlay

我在主页上添加了一个叠加对话框。 当我单击标签时,对话框变为可见。

现在的问题是当我关闭对话框时 单击约7秒即可禁用该链接。 无所事事或点击后,它再次启用。

我创建了fiddle源代码。

叠加对话框的Css如下所示:

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 20;

}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  color: #000;
  text-align:left;
  border-radius: 5px;
  width: 80%;
  height: 80%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .content {
  height:95%;
  overflow: scroll;
  overflow-x: hidden;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}

在小提琴中我的问题没有重建。 即使是所有其他东西,小提琴也是正确的 但问题仍然出现在我的页面上,尽管代码在小提琴和我的页面上是相同的。

我使用的是fullPageSlider Alvarotrigo。 也许这个问题有待解决?

0 个答案:

没有答案
相关问题