我在 Google Chromem 上的子容器上具有 100% 高度时遇到问题,在 Firefox 上运行良好。
链接在这里:
http://linco.com.py/beta/multiplaza/cartelera.php
主容器:
position: relative;
width: 23%;
height: 0px;
padding-bottom: 30%;
margin-left: 1.5%;
margin-top: 20px;
float: left;
子容器:
z-index: 2;
position: absolute;
opacity: 0;
background: rgba(255,255,255,0.8);
width: 100%;
height: 100%;
left: 0;
display: table;
cursor: default;
我做错了什么?谢谢 !