.skeleton {
	background-color: #eee;
	background-image: linear-gradient(90deg, #eee, #ffffff, #eee);
	background-size: 100px 100%;
	background-repeat: no-repeat;
	border-radius: 4px;
	display: inline-block;
	line-height: 1;
	width: 100%;
	height: 50px;
	margin: auto;
	animation: skeleton-animation 0.8s ease-in-out infinite;
}

@keyframes skeleton-animation {
	0% {
		background-position: -200px 0;
	}

	100% {
		background-position: calc(200px + 100%) 0;
	}
}
