为什么白色边框出不来,代码有什么问题吗
.test4{background: #030;}
.test4 figcaption{width: 100%;height: 88%}
.test4 figcaption div{border: 2px solid #FFF;width: 80%;height: 80%;position: absolute;top: 14%;left: 10%;transform: scale(1.2,1.2);opacity: 0;}
.test4 figcaption h2{margin-top: 10%;margin-left: 20%; transform: scale(1.2,1.2);opacity: 0;}
.test4 figcaption p{margin-left: 15%;transform: scale(1.2,1.2);opacity: 0;}
.test4:hover img{opacity: 0.5;transform: scale(1.2,1.2);}
.test4:hover figcaption div{transform: scale(1,1);opacity: 1;}
.test4:hover figcaption p{transform: scale(1,1); opacity: 1;}
.test4:hover figcaption h2{transform: scale(1,1);opacity: 1;}
.test4 figcaption div{transition: all 0.35s;}
figure img{opacity: 0.8;transition: all 0.35s;}
figure figcaption p{transition: all 0.35s;}