Important Notice:

Course Content
Float Property
0/1
Z-Index
0/1
CSS object-fit Property
0/1
CSS Visibility Property
0/1
CSS (Chapter 4) M2-R5.1
About Lesson
Descendant Selector /Sub-selectors:-

                जब एक element के अंदर दूसरा element होता है तब अंदर के element पर style rule apply करने के लिये descendant selector का इस्तेमाल करते है। इसे sub selector भी कहा जाता है। इसके लिए पहले Parent Selector को लिखा जाता हैं, फिर इसके भीतर Define Child Element को एक Space देकर लिखा जाता हैं।

 

Descendant Selector /Sub-selectors:-

                When there is another element inside one element, then descendant selector is used to apply style rule on the inside element. It is also called sub selector. For this, first the Parent Selector is written, then within it the Define Child Element is written by giving a space.

error: Content is protected !!