_loader.scss 1.57 KB
.loader {
	box-sizing: border-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex: 0 1 auto;
	  -ms-flex: 0 1 auto;
	      flex: 0 1 auto;
	-webkit-flex-direction: column;
	  -ms-flex-direction: column;
	      flex-direction: column;
	-webkit-flex-grow: 1;
	  -ms-flex-positive: 1;
	      flex-grow: 1;
	-webkit-flex-shrink: 0;
	  -ms-flex-negative: 0;
	      flex-shrink: 0;
	-webkit-flex-basis: 25%;
	  -ms-flex-preferred-size: 25%;
	      flex-basis: 25%;
	max-width: 25%;
	height: 200px;
	-webkit-align-items: center;
	  -ms-flex-align: center;
	      align-items: center;
	-webkit-justify-content: center;
	  -ms-flex-pack: center;
	      justify-content: center;
}

.ball-clip-rotate > div {
	background-color: #fff;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	margin: 2px;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	border: 2px solid #000;
	border-bottom-color: transparent;
	height: 25px;
	width: 25px;
	background: transparent !important;
	display: inline-block;
	-webkit-animation: rotate 0.75s 0s linear infinite;
	animation: rotate 0.75s 0s linear infinite;
}

@keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg) scale(1);
		transform: rotate(0deg) scale(1);
	}
	50% {
		-webkit-transform: rotate(180deg) scale(0.6);
		transform: rotate(180deg) scale(0.6);
	}
	100% {
		-webkit-transform: rotate(360deg) scale(1);
		transform: rotate(360deg) scale(1);
	}
}

@keyframes scale {
    30% {
	    -webkit-transform: scale(0.3);
	    transform: scale(0.3);
	}
    100% {
	    -webkit-transform: scale(1);
	    transform: scale(1);
	}
}