Menu
Coddy logo textTech

Clase 'view-more'

Lección 19 de 31 del curso Tarjeta 3D | Proyecto Front-end de Coddy.

challenge icon

Desafío

Fácil

Apunta a la clase ‘view-more’ en ‘bottom’:

  1. Establece el display a Flex
  2. Establece align-items a center.
  3. Establece justify-content a flex-end.
  4. Establece el width a 40%.
  5. Añade:

    transition: all 0.2s ease-in-out;

    También añade el efecto de hover (Importante):

    .bottom .view-more:hover {
      transform: translate3d(0, 0, 10px);
    }

Pruébalo tú mismo

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- Write HTML code here -->
        <script src="script.js"></script>
    </body>
</html>

Todas las lecciones de Tarjeta 3D | Proyecto Front-end