0
Difference between div p {} and div > p {} in css
2 Antworten
+ 1
blank space specify general children selector which can select child , grandchild ....
element.
But > is child selector it select child element only.
If you have any span tag inside p like div p span
You can't select it like
div > span
But can select using
div span
0
Divya Mohan
Ohhhh Thanks bro, I got it now, so ">" is like a direct child selector