Menu
Coddy logo textTech

Cloud III

Lektion 6 von 18 im Kurs Ziehende Wolken – HTML/CSS/JS-Projekt von Coddy.

challenge icon

Aufgabe

Einfach

Erstelle in der HTML-Datei ein div innerhalb des Cloud-Divs (.cloud, noch eines!) mit dem Klassennamen "cloudBubble2".

 

Sprich in der CSS-Datei das neue Div an und setze:

  1. width auf 60px
  2. height auf 60px
  3. Hintergrundfarbe auf dieselbe wie im Cloud-Div
  4. Border-Radius von 30px
  5. position auf absolute
  6. top auf -30px
  7. right auf 30px

Entferne am Ende den margin aus dem .cloud-Div.

Probier es selbst

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- Write HTML code here -->
        <script src="script.js"></script>
    </body>
</html>

Alle Lektionen in Ziehende Wolken – HTML/CSS/JS-Projekt