18 lines
680 B
Markdown
18 lines
680 B
Markdown
---
|
|
title: Add Rows with grid-template-rows
|
|
localeTitle: إضافة صفوف مع صفوف قالب الشبكة
|
|
---
|
|
## إضافة صفوف مع صفوف قالب الشبكة
|
|
|
|
في هذا التحدي ، أنت مطالب بتحديد صفوف شبكة CSS في `<div class="container">` .
|
|
|
|
### ملحوظة
|
|
|
|
يمكنك تعريف الصفوف باستخدام الخاصية CSS `grid-template-rows` .
|
|
|
|
### حل
|
|
|
|
نظرًا لأن التحدي يتطلب منك إنشاء صفين من `50px` لكل منهما ، `.container` بتعريف المتابعة في كتلة التعليمة البرمجية الخاصة بـ `.container` CSS:
|
|
|
|
`grid-template-rows: 50px 50px;
|
|
` |