Menu
Coddy logo textTech

Classe 'bottom'

Lezione 18 di 31 del corso Card 3D | Progetto front-end di Coddy.

challenge icon

Sfida

Facile

Classe di destinazione ‘bottom’:

  1. Imposta display su Flex
  2. Imposta align-items su center.
  3. Imposta justify-content su space-between
  4. Imposta position su absolute
  5. Imposta bottom, left e right su 20 pixel. 
  6. 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