Descendant Combinator
The descendant combinator (space) selects elements that are descendants of another element at any nesting level.
Basic Descendant Selection
Loading Selector Playground...
.container p selects ALL paragraphs inside .container, no matter how deeply nested.
Multiple Levels
Loading Selector Playground...
Try these:
article a- all links inside articleheader a- links inside headernav a- links inside nav
Styling Nested Elements
Loading CSS Playground...
Chaining Descendants
Loading Selector Playground...
.card .card-body p - paragraphs inside .card-body inside .card
Exercise: Select Nested Items
Select list items inside the navigation:
Loading CSS Exercise...
التالي · الدرس 6 من 27
Child Combinator
قراءة 1 دقيقة
أنهيت 5 من 27 درسًا

اسأل Byte عن هذا الدرس
محادثة خاصة حول هذا الدرس. قرأ Byte الدرس كاملًا، ويجيب خلال ثوانٍ، ويُظهر القسم الذي تأتي منه كل إجابة. يمكنك السؤال بأي لغة.
الأسئلة والأجوبة
أسئلة عامة حول هذا الدرس. يجيب AI Tutor فورًا بلغتك، ويراجع فريق FreeAcademy الإجابات، ويمكن لكل المتعلمين قراءتها.

