Beispiel:CSS2 font-variant.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css" >
		<title>font-variant</title>
		<style>
			p {font-size: 16px;}
			h1, span, cite {font-variant: small-caps;}
			blockquote {width: 30em;}
			blockquote p {font: 20px Georgia, Times, sans-serif;}
			cite {display: block; text-align: right;}
		</style>
	</head>
	<body>
		<h1>Kapitälchen mit font-variant</h1>
			<p><span>Kapitälchen</span> sind eine beliebte Gestaltungsvariante für Texte.</p>
			<blockquote>
				<p>Tatsachen muss man kennen, bevor man sie verdrehen kann.
					<cite>Mark Twain</cite>
				</p>
			</blockquote>
	</body>
</html>