不顯示效果
<style>
? ? ? ?.loading{ width: 100%;height: 100%;position: fixed;top: 0;left: 0;z-index: 100;
? ? ? ? ? ? ? ? background: #fff; }
? ? ? ?.loading. pic{
? ? ? ? ? ?width: 64px;height: 64px; border: 4px solid red;
? ? ? ? ? /* background: url(image/39.gif);
? ? ? ? ? ?position: absolute;top: 0;bottom: 0;left: 0;right: 0;margin: auto;*/
? ? ? ?}
? ?</style>
? ?<!--引入jquery-->
? ?<script src="js/jquery.js"></script>
</head>
<body>
? <!--在圖片之上用一個div來遮擋-->
? <div class="loading">
? ? ? <div class="pic"></div>
? </div>
顯示的還是空白頁 ?左上角不顯示邊框 ?咋回事呢?
2018-03-11
親,你的css類名寫的有問題
.loading和.pic中間才有空格,你仔細看下你自己寫的,空格位置不對