descendant direct: X > Y

First p in div

Second p in div

span

p in span

p outside of div

Here are only the p-Elements direct-parent div (and not div-span-p, where div is opa) selected with the css:

div > p {
	background: #e3e3e3;
}