|
html:
- <div id="loading">
- <img src="img/loading.gif" alt="loading.." /><br/>
- 加载中...
- </div>
复制代码
js:
css:
- <style type="text/css">
- #loading {
- position: fixed;
- z-index: 9999999;
- width: 100%;
- height: 100%;
- top: 0%;
- left: 0%;
- text-align: center;
- font-size: 0.9rem;
- color: #ffffff;
- background-color: #0000005e;
- padding-top: 35%;
- }
- </style>
复制代码
|
|