هل تعلم؟dyk.si

الشاشة المقسومة Split Screen

صفحة مقسومة إلى نصفين: صورة أو رسالة في جانب، ونموذج أو محتوى في الجانب الآخر.

display: grid; grid-template-columns: 1fr 1fr

متى تستخدمه

لصفحات تسجيل الدخول والمقارنات.

خطأ شائع

لا تُبقِه نصفين على الهاتف.

إمكانية الوصول

Stack the halves on small screens, with the important half first.

اسمه في الكود

HTML/CSSdisplay: grid; grid-template-columns: 1fr 1fr
Reactgrid-cols-2
Jetpack ComposeRow(Modifier.weight(1f)) x2
SwiftUIHStack / ViewThatFits

برومبت جاهز لوكيل البرمجة

Add a Split Screen to this screen. What it is: A page divided in two halves: an image or message on one side, a form or content on the other. Implement with: display: grid; grid-template-columns: 1fr 1fr (HTML/CSS). Accessibility: Stack the halves on small screens, with the important half first. When to use it: For sign-in pages and comparisons. Avoid: Don’t keep two columns on mobile. Reuse the project's existing design tokens, spacing and component conventions.

أو ركّب صفحة كاملة من هذا العنصر وغيره →

البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.