@-webkit-keyframes sample {
	0% {
		width: 100px;
		height: 100px;
	}
	50% {
		width: 300px;
		height: 100px;
	}
	100% {
		width: 300px;
		height: 300px;
	}
}
@keyframes sample {
	0% {
		width: 100px;
		height: 100px;
	}
	50% {
		width: 300px;
		height: 100px;
	}
	100% {
		width: 300px;
		height: 300px;
	}
}
div {
	width: 100px;
	height: 100px;
	background-color: #cc0099;
	font-family: Helvetica, sans-serif;
	font-weight: bold;
	-webkit-animation-name: sample;
	-webkit-animation-duration: 3s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	animation-name: sample;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}
