« Zurück zum Artikel

Beispiel 1

#test1
#test2
#test3



Hier der zugehörige CSS-Code:

div {
	display: inline-block;
	width: 100px;
	height: 100px;
	background: #dddddd;
	border: 1px solid #555555;
	color: #000000;
	margin: 50px;
}

#test1 {
	transform: rotate(30deg);
}

#test2 {
	transform: rotate(180deg);
}

#test3 {
	transform: rotate(0.5rad);
}