小TIP:如何让蒙层自适应目标高度

2017-09-10  本文已影响19人  春木橙云

方法一:外层相对定位,蒙层100%高度

方法二:

        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        position: fixed;
上一篇 下一篇

猜你喜欢

热点阅读