Merge pull request #3284 from danny007in/preloader-add

Preloader Added
This commit is contained in:
REJack
2021-01-19 07:57:18 +01:00
committed by GitHub
5 changed files with 49 additions and 0 deletions

17
docs/layout.md vendored
View File

@@ -48,6 +48,23 @@ You can also use the following classes for responsive changes with placing
{: .quote-info}
#### Preloader
Preloader to avoid [https://github.com/ColorlibHQ/AdminLTE/discussions/3319](https://github.com/ColorlibHQ/AdminLTE/discussions/3319)
```html
<div class="wrapper">
<!-- Preloader -->
<div class="preloader">
<img src="dist/img/AdminLTELogo.png" alt="AdminLTELogo" height="60" width="60">
</div>
</div>
```
- Preloader elements should be added inside `.wrapper` element.
- You can replace image OR modify size OR include any preload items inside `.preloader` element.
#### Dark Mode
AdminLTE 3.1 provides a dark mode option. You can add in body tag: