Balise body et classe wrapper
Leçon 9 sur 17 du cours Accordéon d'images | Projet front-end de Coddy.
Défi
FacileCiblez la balise body :
Définissez la couleur d'arrière-plan de votre choix, ou vous pouvez choisir :
background: linear-gradient(135deg, rgb(255, 183, 183), rgb(255, 0, 76));
Ciblez la classe ‘wrapper’ :
- Définissez width à 100% et height à 100 vh.
- Définissez le display sur Flex
- Définissez align-items et justify-content sur center.
Essayez vous-même
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Write HTML code here -->
<script src="script.js"></script>
</body>
</html>