/* a.css */

@media screen {

.box {
	animation: BOX;
	animation-duration: 0s;
	animation-fill-mode: both;
}

@keyframes BOX {
	0%, 100% {
		background-color: green;
	}
}
}

/* b.css */

@media print {

.box {
	animation: BOX;
	animation-duration: 0s;
	animation-fill-mode: both;
}

@keyframes BOX {
	0%, 100% {
		background-color: red;
	}
}
}
