[{"data":1,"prerenderedAt":11},["ShallowReactive",2],{"$f3euxo1olg59wt":3},{"slug":4,"title":5,"description":6,"published":7,"updated":8,"thumb":9,"html":10},"how-to-apply-css-class-only-to-first-child-of-an-element-or-division","How to Apply CSS Class Only To First Child of An Element or Division","This paragraph is the first child of it’s parent. This paragraph is not the first child of it’s parent. This paragraph is not the first child of it’s...","2015-01-06","2016-06-17",null,"\u003Cp>\u003Ccode>\u003C\u002Fp>\n\u003Cstyle>\n.test > :first-child{\n    background-color: yellow;\n}\n\u003C\u002Fstyle>\n\u003Cp>This paragraph is the first child of it's parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it's parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it's parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it's parent.\u003C\u002Fp>\n\u003Cp>\u003C\u002Fcode>\u003C\u002Fp>\n\u003Cp>Here is the output of the code:\u003C\u002Fp>\n\u003Cstyle>\n.test > :first-child{\n    background-color: yellow;\n}\n\u003C\u002Fstyle>\n\u003Cp>This paragraph is the first child of it&#8217;s parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it&#8217;s parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it&#8217;s parent.\u003C\u002Fp>\n\u003Cp>This paragraph is not the first child of it&#8217;s parent.\u003C\u002Fp>",1793901039389]