【前端】居中

style="cursor: pointer;position: absolute; z-index: 10; 
            width:100%; height:69px;top:-20px;left: 50%;
            background-repeat:no-repeat;
            background-size:100% 100%;
            -moz-background-size:100% 100%;
            margin-left: -50%;
            background-image: url(img/top_01.png); font-family: '微软雅黑';font-size: 24px; 
            text-align: center;color: #ffffff; line-height: 85px;letter-spacing:1px;z-index: 9999;">
            智慧XX-XX系统</div>

 

posted @ 2022-03-11 17:32  咸鱼翻身  阅读(27)  评论(0编辑  收藏  举报