Menu
Coddy logo textTech
flag Ar iconالعربيةdown icon

الفئة 'view-more'

الدرس 19 من 31 في دورة بطاقة 3D | مشروع Front-end على Coddy.

challenge icon

التحدي

سهل

استهدف الفئة 'view-more' داخل 'bottom':

  1. اضبط display على Flex
  2. اضبط align-items على center.
  3. اضبط justify-content على flex-end.
  4. اضبط width على 40%.
  5. أضف:

    transition: all 0.2s ease-in-out;

    أضف أيضاً تأثير التحويم (هام):

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

جرّب بنفسك

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

جميع دروس بطاقة 3D | مشروع Front-end