- class name angepasst

This commit is contained in:
danielvici123
2024-10-02 12:31:04 +02:00
parent 7c5bb1e29f
commit aee03902ed
2 changed files with 4 additions and 4 deletions

View File

@@ -14,9 +14,9 @@
$radius= $_REQUEST['radius']; $radius= $_REQUEST['radius'];
$flaeche = M_PI * ($radius * $radius); $flaeche = M_PI * ($radius * $radius);
$umfang = 2 * M_PI * $radius; $umfang = 2 * M_PI * $radius;
echo "<p>Der <label class='drinne'>Kreisradius</label> beträgt: <label class='drinne'>". $radius. "</label> cm. </p>"; echo "<p>Der <label class='dr'>Kreisradius</label> beträgt: <label class='dr'>". $radius. "</label> cm. </p>";
echo "<p>Der <label class='drinne'>Kreisfläche</label> beträgt: <label class='drinne'>". $flaeche ."</label> cm². </p>"; echo "<p>Der <label class='dr'>Kreisfläche</label> beträgt: <label class='dr'>". $flaeche ."</label> cm². </p>";
echo "<p>Der <label class='drinne'>Kreisumfang</label> beträgt: <label class='drinne'>". $umfang ."</label> cm. </p>"; echo "<p>Der <label class='dr'>Kreisumfang</label> beträgt: <label class='dr'>". $umfang ."</label> cm. </p>";
?> ?>
<div> <div>

View File

@@ -34,7 +34,7 @@ input {
border-radius: 24px; border-radius: 24px;
margin-top: 10px; margin-top: 10px;
} }
.drinne { .dr {
color: white; color: white;
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;