下列是簡單的 CSS 程式碼


<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf8">
	</head>
	<center><span style="font-size: 4em; color: #2244dd;">測</span>
		<span style="font-size: 3em; color: #44dd22;">試</span>
		<span style="font-size: 2em; color: #dd2244;">用</span>
		<span style="font-size: 1em; color: #dd4422;">的</span>
		<span style="font-size: 2em; color: #884455;">烘</span>
		<span style="font-size: 3em; color: #99aabb;">培</span>
		<span style="font-size: 4em; color: #889934;">基</span></center>
</html>

		

結果: