Menu
Coddy logo textTech

Class 'view-more'

Lesson 19 of 31 in Coddy's 3D Card | Front-end Project course.

challenge icon

Challenge

Easy

Target class ‘view-more’ in ‘bottom’:

  1. Set the display to Flex
  2. Set align-items to center.
  3. Set justify-content to flex-end.
  4. Set the width to 40%.
  5. Add :

    transition: all 0.2s ease-in-out;

    Also add hovering effect (Important):

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

Try it yourself

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

All lessons in 3D Card | Front-end Project