{"id":14057,"date":"2023-11-18T21:43:39","date_gmt":"2023-11-18T18:43:39","guid":{"rendered":"https:\/\/elzero.org\/?p=14057"},"modified":"2023-11-22T23:56:05","modified_gmt":"2023-11-22T20:56:05","slug":"css-where-pseudo-class","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/css-where-pseudo-class\/","title":{"rendered":"CSS &#8211; Where Pseudo Class"},"content":{"rendered":"<h3>\u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062f\u0631\u0633<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-html\">\r\n<!-- \r\n  Where() \r\n  Pseudo Class\r\n-->\r\n<div class=\"parent\">\r\n  <h1>\r\n    Head\r\n    <a href=\"#\">Link<\/a>\r\n    <span>Span<\/span>\r\n  <\/h1>\r\n  <div>\r\n    Div\r\n    <a href=\"#\">Link<\/a>\r\n    <span>Span<\/span>\r\n  <\/div>\r\n  <p>\r\n    Paragraph\r\n    <a href=\"#\">Link<\/a>\r\n    <span>Span<\/span>\r\n  <\/p>\r\n<\/div>\r\n<\/script>\r\n\r\n<script type=\"text\/plain\" class=\"language-css\">\r\n\/* Normal Way *\/\r\nh1 a,\r\nh1 span,\r\ndiv a,\r\ndiv span,\r\np a,\r\np span {\r\n  color: red;\r\n}\r\n\r\n\/* With Where *\/\r\n.parent :where(h1, div, p) :where(a, span) {\r\n  color: red;\r\n}\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062f\u0631\u0633<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1423],"tags":[],"class_list":["post-14057","post","type-post","status-publish","format-standard","hentry","category-css-features"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=14057"}],"version-history":[{"count":2,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14057\/revisions"}],"predecessor-version":[{"id":14095,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14057\/revisions\/14095"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=14057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=14057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=14057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}