Classe 'bottom'
Lezione 18 di 31 del corso Card 3D | Progetto front-end di Coddy.
Sfida
FacileClasse di destinazione ‘bottom’:
- Imposta display su Flex
- Imposta align-items su center.
- Imposta justify-content su space-between
- Imposta position su absolute
- Imposta bottom, left e right su 20 pixel.
- Imposta il padding a 10px sopra e sotto e a 12px a destra e a sinistra
Aggiungi queste proprietà alla fine per una finitura precisa:
transform-style: preserve-3d;
transform: translate3d(0, 0, 26px); Provalo tu
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Scrivi qui il codice HTML -->
<script src="script.js"></script>
</body>
</html>Tutte le lezioni di Card 3D | Progetto front-end
Esercitati da solo: Playground Web