Beispiel:CSS-Einstieg-10.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html lang="de">
  <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>CSS-Einstieg - 10</title>
    <style>
/* fehlerhafter Code */
div {
  color: white;
}
.medaille { 
	color: # 000;
	background-color: rgb (255 204 0);   
	font-size: 50 px;
	margin: 1em auto;
	padding: 1em;  
	width: 1em;
	height: 1em;
	text-align: center;
	border: thin solid;
	border-radius: 50%;
}
    </style>
</head>
<body>
	<h1>CSS-Spielwiese - 10</h1>
        <main>
	<p>Entfernen Sie 3 Leerzeichen im CSS und gewinnen Sie die Medaille!</p>
	<div>
		<p class="medaille">1.</p>
	</div>
	</body>
        </main>
</html>