不定宽高元素的水平垂直居中 css

    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); 
posted @ 2019-10-21 13:10  wwj007  阅读(141)  评论(0编辑  收藏  举报
……