0

What's the difference between div>p and div p in CSS?

19th Jul 2019, 6:51 PM
Salmanul Fares
Salmanul Fares - avatar
2 odpowiedzi
+ 2
div > p: all p elements whose parent node is a div div p: all p elements that are an ascendant of a div element (inside a div)
19th Jul 2019, 6:55 PM
Airree
Airree - avatar
6th Sep 2019, 3:58 AM
Salmanul Fares
Salmanul Fares - avatar