height: *вставить высоту картинки*;
padding-top: *сюда опять высоту картинки*;
.loader__logo--white {
position: absolute;
top: 0;
left: 0;
overflow: hidden;
background-image: url(/img/global/omnam_logo-white.png);
-webkit-animation-name: loading;
animation-name: loading;
-webkit-animation-duration: 4s;
animation-duration: 4s;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-play-state: playing;
animation-play-state: playing;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
}
@keyframes loading {
0% {
width: 0%;
opacity: 1;
}
60% {
width: 100%;
opacity: 1;
}
100% {
opacity: 0;
}
}
background-image: url(/img/global/omnam_logo-white.png);
background-color: #fff;
$.colorbox.resize();
$.colorbox.resize({
width: "500px",
height: "500px"
});
<script>
function loadCSS(hf) {
var ms=document.createElement("link");ms.rel="stylesheet";
ms.href=hf;document.getElementsByTagName("head")[0].appendChild(ms);
}
loadCSS("header.min.css"); //Header Styles (compress & paste to header after release)
loadCSS("main.min.css"); //User Styles + Media Queries
</script>
.pipe(gulp.dest('app/css'))
loadCSS("css/header.min.css");
loadCSS("css/main.min.css");
.pipe(gulp.dest('app/'))