{"id":124,"date":"2022-01-17T22:42:43","date_gmt":"2022-01-17T22:42:43","guid":{"rendered":"https:\/\/melfaeforest.xhere.eu.org\/?p=124"},"modified":"2022-02-02T21:39:01","modified_gmt":"2022-02-02T21:39:01","slug":"html-css-course-day-9-sizing-grid-columns-rows","status":"publish","type":"post","link":"https:\/\/melfaeforest.xhere.eu.org\/?p=124","title":{"rendered":"HTML\/CSS Course \u2013 Day 9 \u2013 Sizing Grid Columns &#038; Rows"},"content":{"rendered":"\n<p>CSS Grid has some more fancy ways of sizing grid columns and rows, such as the \u201cfr\u201d unit, or \u201cfraction\u201d for its full name. This unit allows you to set a grid so each grid cell is a certain fraction of the entire grid column with NO overflow.<\/p>\n\n\n\n<p>Also, you can use the function \u201crepeat()\u201d as a shorthand for specifying the column\/row sizes. The repeat() function takes two inputs: The first parameter is how many times to repeat, and the second parameter the pattern to repeat, such as the above fraction unit.<\/p>\n\n\n\n<p>The \u201cauto\u201d keyword adjusts the width of the grid item to the max width of its content. That means that the element auto sizes the column.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS Grid has some more fancy ways of sizing grid columns and rows, such as the \u201cfr\u201d unit, or \u201cfraction\u201d for its full name. This unit allows you to set a grid so each grid cell is a certain fraction of the entire grid column with NO overflow. Also, you can use the function \u201crepeat()\u201d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-html-css-course","tag-html-css-course"],"_links":{"self":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":2,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":273,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/273"}],"wp:attachment":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}