This example demonstrates the use of CSS Child Selector. Here we will target the paragraph that is a direct child of the element that has a class of "main".

paragraph 1: lorem ipsum lorem ipsum

paragraph 2: blah blah blah

paragraph 3: yo yo ok ok

Edit in JS Bin