polyfill for IE<\/a>, or use these selectors in non-critical ways \u00e1 la progressive enhancement, which is recommended.<\/p>\n","protected":false},"excerpt":{"rendered":"The :last-child selector allows you to target the last element directly inside its containing element. It is defined in the CSS Selectors Level 3 spec as a \u201cstructural pseudo-class\u201d, meaning it is used to style content based on its relationship with parent and sibling content. Suppose we have an article and want to make the […]<\/p>\n","protected":false},"author":1036,"featured_media":0,"parent":14216,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"page-almanac-single.php","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":""},"tags":[],"acf":[],"jetpack-related-posts":[{"id":14242,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/o\/only-child\/","url_meta":{"origin":14222,"position":0},"title":":only-child","date":"September 6, 2011","format":false,"excerpt":"The :only-child pseudo-class selector property in CSS represents an element that has a parent element and whose parent element has no other element children. This would be the same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity. div p:only-child { color: red; } For example, if we nest paragraphs\u2026","rel":"","context":"In \":only-child\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14184,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/f\/first-child\/","url_meta":{"origin":14222,"position":1},"title":":first-child","date":"September 6, 2011","format":false,"excerpt":"The :first-child selector allows you to target the first element immediately inside another element. It is defined in the CSS Selectors Level 3 spec as a \u201cstructural pseudo-class\u201d, meaning it is used to style content based on its relationship with parent and sibling content. Suppose we have an article and\u2026","rel":"","context":"With 12 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14186,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/f\/first-of-type\/","url_meta":{"origin":14222,"position":2},"title":":first-of-type","date":"March 12, 2013","format":false,"excerpt":"The :first-of-type selector in CSS allows you to target the first occurence of an element within its container. It is defined in the CSS Selectors Level 3 spec as a \u201cstructural pseudo-class\u201d, meaning it is used to style content based on its relationship with parent and sibling content. Suppose we\u2026","rel":"","context":"In \"first-of-type\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14224,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/l\/last-of-type\/","url_meta":{"origin":14222,"position":3},"title":":last-of-type","date":"March 12, 2013","format":false,"excerpt":"The :last-of-type selector allows you to target the last occurence of an element within its container. It is defined in the CSS Selectors Level 3 spec as a \u201cstructural pseudo-class\u201d, meaning it is used to style content based on its relationship with parent and sibling content. Suppose we have an\u2026","rel":"","context":"With 20 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14244,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/o\/only-of-type\/","url_meta":{"origin":14222,"position":4},"title":":only-of-type","date":"September 6, 2011","format":false,"excerpt":"The :only-of-type pseudo-class selector in CSS represents any element that has no siblings of the given type. p:only-of-type { color: red; } If no tag precedes the selector, it will match any tag (e.g. :only-of-type). If another selector precedes it, it will matched based on the type of tag that\u2026","rel":"","context":"In \":only-of-type\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14230,"url":"https:\/\/css-tricks.com\/almanac\/selectors\/n\/nth-child\/","url_meta":{"origin":14222,"position":5},"title":":nth-child","date":"September 6, 2011","format":false,"excerpt":"The :nth-child selector allows you to select one or more elements based on their source order, according to a formula. \/* Select the first list item *\/ li:nth-child(1) { } \/* Select the 5th list item *\/ li:nth-child(5) { } \/* Select every other list item starting with first *\/\u2026","rel":"","context":"With 19 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14222"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/1036"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=14222"}],"version-history":[{"count":5,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14222\/revisions"}],"predecessor-version":[{"id":21012,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14222\/revisions\/21012"}],"up":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/14216"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=14222"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=14222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}