- #loading{ position: fixed; inset: 0; bottom: auto; z-index: 100; display: flex; height: 100vh; align-items: center; justify-content: center; background-color: rgba(255,255,255,0.95); }
- #loading>div{ text-align: center; }
- #loading>div .fa{ animation: 1s spin infinite linear; color: #000000; font-size: 36px; }
- #loading>div span{ position: relative; display: block; padding: 20px 0 0; color: #000000; font-size: 12px; font-weight: 700; text-align: center; }
- @keyframes spin{
- to{ transform: rotateZ(360deg); }
- }
- <transition name="fade"><div id="loading" v-if="loading"><div><i class="fa fa-spinner"></i> <span>{{loadingmsg}}</span></div></div></transition>
[text] rommel
Viewer
Editor
You can edit this paste and save as new:
File Description
- rommel
- Paste Code
- 23 Mar-2023
- 671 Bytes
You can Share it:
Latest Code Pastes