{"id":2463,"date":"2021-06-20T12:43:13","date_gmt":"2021-06-20T12:43:13","guid":{"rendered":"https:\/\/learncode.tinjurewp.com\/?p=2463"},"modified":"2021-08-23T13:08:56","modified_gmt":"2021-08-23T13:08:56","slug":"container-queries-exites-web-developers","status":"publish","type":"post","link":"https:\/\/learncode.tinjurewp.com\/container-queries-exites-web-developers\/","title":{"rendered":"Container Queries Exites Web Developers"},"content":{"rendered":"<p>The <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Container_Queries\" target=\"_blank\" rel=\"noopener\">CSS container queries<\/a> are said to be the <a href=\"https:\/\/css-tricks.com\/newsletter\/251-container-queries-are-the-future\/\" target=\"_blank\" rel=\"noopener\">future of responsive design<\/a>. Container queries are in <a href=\"https:\/\/css-tricks.com\/container-query-discussion\/\" target=\"_blank\" rel=\"noopener\">discussion<\/a> for a while among some passionate web developers. These discussions seems to have got some traction recently after <a href=\"https:\/\/www.google.com\/intl\/en\/chrome\/canary\/\" target=\"_blank\" rel=\"noopener\">Google Chrome canary<\/a> started testing those basic concepts.<\/p>\n<p>According to the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Container_Queries\" target=\"_blank\" rel=\"noopener\">MDN Web Doc<\/a>, &#8220;<em>the container queries specification is to become part of <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Containment\" target=\"_blank\" rel=\"noopener\"><code>css containment<\/code><\/a>, and add new values to the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/contain\" target=\"_blank\" rel=\"noopener\"><code>contain<\/code><\/a> property. The <code>contain<\/code> property was initially designed to allow for performance optimizations. It provides a way for web developers to isolate parts of the DOM and declare to the browser these are independent from the rest of the document<\/em>.&#8221;<\/p>\n<blockquote><p>Personally, I believe this is the biggest improvement to CSS since Grid. It opens up all sorts of elegant solutions to problems we work around on a daily basis. <cite>Chris Coyier <a href=\"https:\/\/css-tricks.com\/say-hello-to-css-container-queries\/\" target=\"_blank\" rel=\"noopener\">in CSS-Tricks<\/a><cite><\/cite><\/cite><\/p><\/blockquote>\n<p>There are great <a href=\"https:\/\/www.smashingmagazine.com\/2021\/05\/complete-guide-css-container-queries\/\" target=\"_blank\" rel=\"noopener\">tutorials<\/a>, <a href=\"https:\/\/ishadeed.com\/article\/say-hello-to-css-container-queries\/\" target=\"_blank\" rel=\"noopener\">deep-dive guide<\/a> (see resources below) already to try out but I will planned to wait until these futures are more stable and become available in other browsers. During that time, I thought these resources book mark links come handy, hopefully!<\/p>\n<h6>Useful Resources<\/h6>\n<p>The following is list of references link that I gathered during my brief research. While preparing this post, I have also referred some of the following references extensively. Please to refer original posts for more detailed information.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.smashingmagazine.com\/2021\/05\/complete-guide-css-container-queries\/\" target=\"_blank\" rel=\"noopener\">A Primer On CSS Container Queries<\/a> | Smashing magazine<\/li>\n<li><a href=\"https:\/\/www.oddbird.net\/2021\/04\/05\/containerqueries\/\" target=\"_blank\" rel=\"noopener\">Container Queries: a Quick Start Guide<\/a> | OddBird<\/li>\n<li><a href=\"https:\/\/www.sarasoueidan.com\/blog\/component-level-art-direction-with-container-queries-and-picture\/\" target=\"_blank\" rel=\"noopener\">Component-level art direction with CSS Container Queries<\/a> | Sara Soueidan<\/li>\n<li><a href=\"https:\/\/piccalil.li\/blog\/container-queries-are-actually-coming\" target=\"_blank\" rel=\"noopener\">Container Queries are actually coming<\/a> <em>by<\/em> Andy Bell | Piccalil.li<\/li>\n<li><a href=\"https:\/\/ishadeed.com\/article\/say-hello-to-css-container-queries\/\" target=\"_blank\" rel=\"noopener\">Say Hello To CSS Container Queries<\/a> | Ahmad Shadeed<\/li>\n<li><a href=\"https:\/\/piccalil.li\/blog\/container-queries-are-actually-coming\/\" target=\"_blank\" rel=\"noopener\">Container Queries are actually coming<\/a> | Piccali.li<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The CSS container queries are said to be the future of responsive design. Container queries are in discussion for a while among some passionate web developers. These discussions seems to have got some traction recently after Google Chrome canary started testing those basic concepts. According to the MDN Web Doc, &#8220;the container queries specification is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[20],"tags":[],"class_list":["post-2463","post","type-post","status-publish","format-standard","hentry","category-css"],"_links":{"self":[{"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/posts\/2463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/comments?post=2463"}],"version-history":[{"count":0,"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/posts\/2463\/revisions"}],"wp:attachment":[{"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/media?parent=2463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/categories?post=2463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learncode.tinjurewp.com\/wp-json\/wp\/v2\/tags?post=2463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}