Sir, are combinators really used in real life scenario. i am not able to get the importance of it and the applications of it
Combinators of CSS
Combinators have a good use in lists, for eg: You want to change color of every item in list. So instead of giving every <li>an ID or class and then applying css properties you can simply do ul > li { color: green; }
This signifies that all li children in ul should apply this css property
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.