Menu
Coddy logo textTech

Classe 'circle'

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

challenge icon

Sfida

Facile

Classe di destinazione «circle»:

  1. Imposta display su block.
  2. Imposta position su absolute
  3. Imposta aspect-ratio su 1.
  4. Imposta border-radius su 50%.
  5. Imposta top e right su 0.

    Aggiungi queste proprietà per una buona finitura:

    background: rgba(0, 249, 203, 0.2);
    transition: all 0.5s ease-in-out;
    box-shadow: rgba(100, 100, 111, 0.2) -10px 10px 20px 0px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

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