Анимированный текстовый прелоадер - JSFiddle
HTML
<script src="https://fonts.googleapis.com/css?family=Open+Sans"></script>
<div class="page-preloader">
<div class="preloader">
<b>L</b><b>O</b><b>A</b><b>D</b><b>I</b><b>N</b><b>G</b>
</div>
</div>
CSS
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-size: 14px;
line-height: 28px;
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.page-preloader {
background: -webkit-linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
background-image: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
display: flex;
align-items: center;
align-content: center;
justify-content: center;
overflow: auto;
}
.preloader {
width: 100%;
text-align: center;
}
.preloader>b {
display: inline-block;
font-size: 30px;
font-weight:400;
line-height: 1.5;
-webkit-animation: flip 4s ease-out infinite;
animation: flip 4s ease-out infinite;
text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.45);
}
@keyframes flip {
0% {
letter-spacing: -.1em
}
50% {
font-size: 8px;
letter-spacing: .3em;
100% {
letter-spacing: -.1em;
}
}
JavaScript
/* ========================================================================= */
/* shurawi --- dbmast.ru ---
/* ========================================================================= */