Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- preloader start -->
- <div class="pre-loader">
- <div class="loading">
- <span>loading...</span>
- </div>
- </div>
- <!-- preloader end -->
- /* ----------------------------------------
- -------------- 3.PRELOADER -------------
- ---------------------------------------- */
- .pre-loader {
- background-color: #6A49F0;
- height: 100%;
- left: 0;
- position: fixed;
- text-align: center;
- top: 0;
- width: 100%;
- z-index: 9999;
- overflow: hidden;
- }
- .loading {
- display: inline-block;
- width: 80px;
- height: 80px;
- top: 50%;
- margin-left: -40px;
- margin-top: -40px;
- border-radius: 50%;
- box-sizing: border-box;
- border-top: 10px solid #fff;
- animation: a1 2s linear infinite;
- position: absolute;
- }
- .loading::before, .loading::after {
- width: 80px;
- height: 80px;
- content: "";
- position: absolute;
- left: 0;
- top: -10px;
- box-sizing: border-box;
- border-radius: 50%;
- }
- .loading::before {
- border-top: 10px solid #ff6f61;
- transform: rotate(120deg);
- }
- .loading::after {
- border-top: 10px solid #73c32f;
- transform: rotate(240deg);
- }
- .loading span {
- position: absolute;
- text-align: center;
- width: 60px;
- left: 0;
- line-height: 60px;
- text-transform: capitalize;
- color: #fff;
- animation: a2 2s linear infinite;
- font-size: 12px;
- height: 60px;
- }
- @keyframes a1 {
- to {
- transform: rotate(360deg);
- }
- }
- @keyframes a2 {
- to {
- transform: rotate(-360deg);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement