PublishingCSS:Making Matters Lexicon: Difference between revisions

From H&D Publishing Wiki
No edit summary
No edit summary
Line 14: Line 14:


@keyframes rotate {
@keyframes rotate {
0% { transform: rotate(0deg); }
from { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
to { transform: rotate(360deg); }
}
}

Revision as of 22:56, 3 February 2022

p {
	color: red;
}
sup.reference {
	font-family: fantasy;
	background: darkred;
	color: yellow;
	font-size: 1.5em;
	animation: rotate 5s linear infinite;
}
sup.reference a {
	color: yellow;
}

@keyframes rotate {
	from { transform: rotate(0deg); }	
	to { transform: rotate(360deg); }
}