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

الفئة 'social-button'

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

challenge icon

التحدي

سهل

استهدف الفئة 'social-button':

  1. اضبط العرض (width) على 30 بكسل. 
  2. اضبط نسبة العرض إلى الارتفاع (aspect-ratio) على 1.
  3. اضبط الحشو (padding) على 5px 
  4. اضبط الخلفية (background) على اللون الأبيض.
  5. اضبط نصف قطر الحدود (border-radius) على 50%.
  6. اضبط الحدود (border) على none.
  7. اضبط العرض (display) على grid. 
  8. اضبط محاذاة المحتوى (place-content) على center. 
  9. أضف خاصية ظل الصندوق (box-shadow) التالية:

    box-shadow: rgba(5, 71, 17, 0.5) 0px 7px 5px -5px; 

جرّب بنفسك

<!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