• 2022-06-18
    在网页中有两个div,其中图片所在的div没有应用任何样式,下面( )能够使class属性为text的div显示在图片的上方。
    A: .text{position:absolute;z-index:-1;}
    B: .text{position:relative;z-index:-1;}
    C: .text{position:relative;z-idnex:1;}
    D: .text{position:absolute;z-index:1;}