OxfordMiha 0 Posted March 6, 2020 Share Posted March 6, 2020 Hello I tried to add an CSS Loading screen but it doesn't work, when i put it the header have a big empty space. Can someone Help me? CODE: HTML: <div class="spinner"></div> CSS: .spinner { width: 40px; height: 40px; margin: 100px auto; background-color: #333; border-radius: 100%; -webkit-animation: sk-scaleout 1.0s infinite ease-in-out; animation: sk-scaleout 1.0s infinite ease-in-out; } @-webkit-keyframes sk-scaleout { 0% { -webkit-transform: scale(0) } 100% { -webkit-transform: scale(1.0); opacity: 0; } } @keyframes sk-scaleout { 0% { -webkit-transform: scale(0); transform: scale(0); } 100% { -webkit-transform: scale(1.0); transform: scale(1.0); opacity: 0; } } Link to comment Share on other sites More sharing options...
Jeffrey 366 Posted March 11, 2020 Share Posted March 11, 2020 Are you trying to load a CSS file via your main directory on IPS? Try taking the CSS code, adding it to your custom.css, inside your theme, and use the div class again. Support Team - September 9th, 2017 - June 8, 2018 Junior Moderator - December 14th 2018 - November 16th, 2019 Designer - November 16th, 2019 - June 5th, 2020 Moderator - June 5th, 2020 - August 28th, 2020 Link to comment Share on other sites More sharing options...
Recommended Posts