Menu
Coddy logo textTech

Cloud II

Lektion 5 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) mit dem Klassennamen "cloudBubble1".

 

Targetiere in der CSS-Datei das neue Div und setze:

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

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