{"id":6430,"date":"2024-04-14T18:48:59","date_gmt":"2024-04-14T10:48:59","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=6430"},"modified":"2024-04-14T18:48:59","modified_gmt":"2024-04-14T10:48:59","slug":"framework","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/framework\/","title":{"rendered":"Framework"},"content":{"rendered":"\n<div class=\"docs_rich-text w-richtext\">\n<p>Framework \u2014 also referred to as CSS framework \u2014 is a presentation attribute for organizing layouts. It offers adaptability for rearranging and resizing framework content to generate dynamic, receptive designs. Please be aware that as framework is a display option, it serves as a <em>directive<\/em>.<\/p>\n<p>In this session, you will discover:<\/p>\n<ol start=\"1\" role=\"list\">\n<li>How to establish and adjust a framework<\/li>\n<li>How to position content in a framework<\/li>\n<li>How to shift, extend, and align framework content<\/li>\n<li>How to craft a responsive framework<\/li>\n<\/ol>\n<h2>How to establish and adjust a framework<\/h2>\n<p>In order to establish a framework, introduce an element that supports a framework (for instance, a segment, div block, etc.) to the workspace from the<strong> Add panel<\/strong>. Subsequently, choose that element, navigate to <strong>Style panel<\/strong> &gt; <strong>Layout <\/strong>&gt; <strong>Display<\/strong>, and opt for <strong>Framework<\/strong>.<\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f85fe19d8c82f2b1f4dfd1_grid01-make.webp\" loading=\"lazy\" title=\"65f85fe19d8c82f2b1f4dfd1_grid01-make\"><\/div>\n<\/figure>\n<p>You have the ability to edit the framework directly in the <strong>Style panel<\/strong> or in framework edit mode. To enter framework edit mode, press the \u201c<strong>wrench<\/strong>\u201d icon next to the <strong>Columns<\/strong> and <strong>Rows<\/strong> fields, or select the framework on the workspace and click the \u201c<strong>grid edit<\/strong>\u201d icon. To exit framework edit mode, click <strong>Done<\/strong> on the workspace overlay or click the \u201c<strong>close<\/strong>\u201d icon in Framework settings.<\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84a9e69d0fbabf799c2c4_grid200220-20open20grid20edit20mode.webp\" loading=\"lazy\" title=\"65f84a9e69d0fbabf799c2c4_grid200220-20open20grid20edit20mode\"><\/div>\n<\/figure>\n<h4>Incorporate columns and rows<\/h4>\n<p>To include new columns and rows in a framework, proceed to <strong>Style panel<\/strong> &gt; <strong>Layout<\/strong> &gt; <strong>Display<\/strong> and utilize the \u201c<strong>increase<\/strong>\u201d button on the corresponding <strong>columns<\/strong> and <strong>rows<\/strong> fields. You can also: <\/p>\n<ul role=\"list\">\n<li>Insert a numerical value into the columns and rows fields<\/li>\n<li>Access framework edit mode and tap the \u201c<strong>plus<\/strong>\u201d icon in <strong>Style panel<\/strong> &gt; <strong>Framework settings<\/strong><\/li>\n<li>Launch framework edit mode and tap the \u201c<strong>plus<\/strong>\u201d icon on the workspace<\/li>\n<\/ul>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84aad1b7defb4d0c7236f_grid2004-20add20columns20rows.webp\" loading=\"lazy\" title=\"65f84aad1b7defb4d0c7236f_grid2004-20add20columns20rows\"><\/div>\n<\/figure>\n<h4>Replicate and eliminate columns and rows<\/h4>\n<p>There are three methods to remove columns and rows: <\/p>\n<ul role=\"list\">\n<li>Employ the \u201c<strong>decrease<\/strong>\u201d button on the <strong>columns<\/strong> and <strong>rows<\/strong> fields <\/li>\n<li>Access framework edit mode, hover over a column or row in <strong>Style panel<\/strong> &gt; <strong>Framework settings<\/strong>, and hit the \u201c<strong>trash<\/strong>\u201d icon<\/li>\n<li>Access framework edit mode, click or right-click on the column or row header on the workspace, and select <strong>Delete<\/strong><\/li>\n<\/ul>\n<p>There are two methods to duplicate columns and rows in framework edit mode. You can hover over a column or row in <strong>Style panel<\/strong> &gt; <strong>Framework settings<\/strong> and select the \u201c<strong>duplicate<\/strong>\u201d icon, or right-click on the column or row header on the workspace and select <strong>Duplicate<\/strong>. <\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84abe8a7d8f10f7a73d0d_grid200520-20duplicate20rows20scaled20down.webp\" loading=\"lazy\" title=\"65f84abe8a7d8f10f7a73d0d_grid200520-20duplicate20rows20scaled20down\"><\/div>\n<\/figure>\n<h4>Reorganize columns and rows<\/h4>\n<p>You can rearrange columns and rows in framework edit mode. Hover over the row or column you wish to move, then drag the handle that appears on the left side to the desired position.<\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84acaa7dc6825efb95cce_grid200620-20reorder20column.webp\" loading=\"lazy\" title=\"65f84acaa7dc6825efb95cce_grid200620-20reorder20column\"><\/div>\n<\/figure>\n<h4>Modify spaces between columns and rows<\/h4>\n<p>Spaces enable you to specify the distance between columns and rows without the need to add margin or padding. To adjust the gap size between columns and rows, head to <strong>Style panel<\/strong> &gt; <strong>Layout<\/strong> &gt; <strong>Gap<\/strong> and input a value. <\/p>\n<p>By default, margins between columns and rows are synchronized. This indicates that if you modify the gap size for columns, the gap size for rows automatically adapts to the same value. To independently alter the gap between columns and rows, click the \u201c<strong>lock<\/strong>\u201d icon to unlock them.<\/p>\n<h6><strong>Insider tip:<\/strong> To quickly expand or reduce gap sizes, slide the <strong>Gap<\/strong> lever or press <strong>Option<\/strong> (on Mac) or<strong> Alt<\/strong> (on Windows) and shift your mouse left or right over the columns or rows field.\u00a0<\/h6>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84ad9c72005c3ac087457_grid2007b20-20adjust20gap20in20style20panel20b.webp\" loading=\"lazy\" title=\"65f84ad9c72005c3ac087457_grid2007b20-20adjust20gap20in20style20panel20b\"><\/div>\n<\/figure>\n<h4>Adjust column and row sizes<\/h4>\n<p>You can modify the proportions of grid columns and rows in framework edit mode by selecting and dragging the column or row header to the desired size on the workspace. You can also specify a custom size for columns or rows by clicking a row or column header.<\/p>\n<h4>Framework sizing<\/h4>\n<p>You can utilize standard units (for example, px, em, rem) when determining framework sizes, or you can utilize <strong>FR units<\/strong>. The FR unit symbolizes a fraction of the available space in the framework. You employ it to delineate the length of rows and columns akin to a percentage or pixel unit, but, distinct from fixed percentages or pixel units, the FR unit automatically computes row and column space while considering gaps.<\/p>\n<p>You can also set <strong>min\/max<\/strong> values to guarantee that your rows and columns do not reduce below a specified minimum value or extend beyond a stipulated maximum value. For instance, if you wish your rows to maintain a minimum height of 200px, you can set the minimum value to 200px and the maximum value to auto. Subsequently, the row will expand based on the content within and will never reduce below 200px.<\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f84af324bc1079e3ad41c9_grid200820-20adjust20columns20and20row20sizing.webp\" loading=\"lazy\" title=\"65f84af324bc1079e3ad41c9_grid200820-20adjust20columns20and20row20sizing\"><\/div>\n<\/figure>\n<h2>How to position content in a framework<\/h2>\n<p>You can insert various child elements (for example, headings, images, div blocks, etc.) within a framework. By default, each new framework child will fill an individual framework cell and occupy the next available cell from left to right. If there are no more vacant cells in a row, a new row will be created to accommodate the new framework children.<\/p>\n<h3>Vary the flow direction of framework content<\/h3>\n<p>You have the option to alter the direction of framework children in <strong>Style panel<\/strong> &gt; <strong>Direction<\/strong>. Here, you can choose <strong>horizontal<\/strong>, which arranges children from left to right, or <strong>vertical<\/strong>, which arranges children from top to bottom. <\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f85f9572db9c376a6029ee_grid2010-20direction.webp\" loading=\"lazy\" title=\"65f85f9572db9c376a6029ee_grid2010-20direction\"><\/div>\n<\/figure>\n<h3>Place Content Manually within a Grid<\/h3>\n<p>To position content manually in a grid, simply hold down the <strong>Shift<\/strong> key while dragging the element into the grid. You can also modify the position setting of an existing grid child to manual. To achieve this, choose the grid child, navigate to the <strong>Style panel<\/strong> &gt; <strong>Grid child<\/strong> &gt; <strong>Position<\/strong>, and change it to <strong>Manual<\/strong>.<\/p>\n<p>Grid children placed manually will remain in their assigned grid cells whereas grid children positioned automatically will adjust to accommodate new grid children by moving to the next cell.<\/p>\n<figure class=\"w-richtext-align-fullwidth w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/65f85fa5a18d4fa5c22aac44_grid2011-20manual20position.webp\" loading=\"lazy\" title=\"65f85fa5a18d4fa5c22aac44_grid2011-20manual20position\"><\/div>\n<\/figure>\n<h2>How to Nest Various Elements in a Grid Cell<\/h2>\n<p>You can insert multiple elements into a single grid cell by nesting elements within the grid child. To accomplish this, start by adding a structural element (like a div block) to the grid as the direct grid child. Once you&#8217;ve added the structural element as the grid child, you can include other elements within the div block by holding down <strong>Command<\/strong> (on Mac) or <strong>Control<\/strong> (on Windows) and dragging the elements into the grid cell. Alternatively, you can select the structural element and use quick find to add extra elements.<\/p>\n<h3>Replicate Content in a Grid<\/h3>\n<p>You have two options to duplicate a grid child to reuse the same content in multiple grid cells:<\/p>\n<ul role=\"list\">\n<li>Hold down <strong>Option<\/strong> (on Mac) or <strong>Alt<\/strong> (on Windows) and drag the content to duplicate and relocate it to a new grid cell<\/li>\n<li>Copy the content, then select the grid and paste the content<\/li>\n<\/ul>\n<h2>Managing Movement, Spanning, and Alignment of Content in a Grid<\/h2>\n<p>Once you&#8217;ve positioned your content within a grid, you can customize the design of that content. You can adjust the content&#8217;s location by moving it to different cells, make it span across multiple cells, and even align the content within the grid.<\/p>\n<h3>Repositioning Grid Children<\/h3>\n<p>To move content within the grid, select and drag the grid child to the desired position on the canvas or within the <strong>Navigator<\/strong>.<\/p>\n<h4>Arrange the Order of Grid Children<\/h4>\n<p>You can also set the order of grid children by selecting the grid child and navigating to the <strong>Style panel<\/strong> &gt; <strong>Grid child<\/strong> &gt; <strong>Order<\/strong>.<\/p>\n<h3>Aligning Content in a Grid<\/h3>\n<p>To change the alignment for all grid children, select the grid and go to the <strong>Style panel<\/strong> &gt; <strong>Layout<\/strong> &gt; <strong>Align<\/strong>. Use the <strong>alignment box<\/strong> (the 3 x 3 grid) to quickly align grid content. The controls for the <strong>X<\/strong> and <strong>Y<\/strong> axes correspond to the values set within the <strong>alignment box<\/strong>. Learn more about utilizing the alignment box.<\/p>\n<p>To adjust the alignment of a specific grid child, choose the grid child and navigate to the <strong>Style panel<\/strong> &gt; <strong>Grid child<\/strong>. From there, you can set the alignment or justification for the grid child under <strong>Align<\/strong> and <strong>Justify<\/strong>.<\/p>\n<h3>Extending Grid Children<\/h3>\n<p>To extend an automatically placed grid child across multiple grid cells, select the grid child, proceed to the <strong>Style panel<\/strong> &gt; <strong>Grid child<\/strong> &gt; <strong>Position<\/strong>, and specify the number of <strong>columns<\/strong> and <strong>rows<\/strong> that the grid child should span.<\/p>\n<p>To stretch a manually positioned grid child, select the grid child, access the <strong>Style panel<\/strong> &gt; <strong>Grid child<\/strong> &gt; <strong>Position<\/strong>, and indicate the starting and ending <strong>columns<\/strong> and <strong>rows<\/strong> for the grid child.<\/p>\n<h3>Secure Grid Child Placement<\/h3>\n<p>Negative values enable you to position grid children with respect to the end of the grid \u2014 they refer to cells from right to left or bottom to top.<\/p>\n<p>Negative grid child positioning can be beneficial if:<\/p>\n<ul role=\"list\">\n<li>You want to maintain the position of your navbar between the first column and the last column rather than respanning it with each new column addition<\/li>\n<li>You wish to keep your footer at the bottom row of the grid irrespective of how many rows are added \u2014 position your footer in row -1\/-1<\/li>\n<li>You aim to keep the main content section consistently centered in your grid with equal columns on each side \u2014 set the &#8220;end&#8221; value to match the negative equivalent of the &#8220;start&#8221; value (e.g., 3\/-3). This ensures that the child remains centered even if columns are removed on smaller breakpoints.<\/li>\n<\/ul>\n<h3>Reset Grid Child Configurations<\/h3>\n<p>Grid child settings are specific to the selected element and are not stored with the class. Altered settings reflected by pink labels in the <strong>Style panel<\/strong> only apply to the selected element at the current breakpoint. These settings cascade down to lower breakpoints and are denoted by orange labels. If you override an inherited (i.e., orange) setting on a smaller breakpoint, the indicator will revert to pink.<\/p>\n<p>To eliminate any applied grid child settings, click on the pink label of the setting and then select <strong>Reset<\/strong>.<\/p>\n<h3>Overlap among Grid Children<\/h3>\n<p>Grid children with manual positioning will automatically overlap when they intersect within the same cell(s). You can manage the stacking order of these overlapping elements by readjusting them in the Navigator or by modifying their positioning and z-index settings.<\/p>\n<h3>Fill Unoccupied Grid Cells<\/h3>\n<p>When grid children are spanned, empty cells may remain in the grid. To automatically populate these cells with content, navigate to the <strong>Style panel<\/strong> &gt; <strong>Layout<\/strong> &gt; <strong>Direction<\/strong> and select the &#8220;dense&#8221; icon.<\/p>\n<blockquote><p><strong>Note:<\/strong> Activating the &#8220;dense&#8221; setting tries to accommodate grid children in empty cells of your grid. However, this may pose accessibility issues as it affects only the display of items, not their actual position on the page.<\/p><\/blockquote>\n<h2>Creating a Responsive Grid Design<\/h2>\n<p>To ensure that your grid design adapts to various screen sizes, you can either manually remove columns on smaller breakpoints or enable auto-fit to generate columns and rows automatically to suit smaller screens.<\/p>\n<h3>Customize Grid Layout Responsively<\/h3>\n<p>To guarantee that your grid design is responsive across all devices, adjust the number of columns as necessary for smaller breakpoints.<\/p>\n<p>If altering columns on smaller breakpoints is not feasible:<\/p>\n<ul role=\"list\">\n<li>Try changing your grid <strong>Direction<\/strong> to <strong>Row<\/strong><\/li>\n<li>Verify that there are no manually positioned grid children within those columns<\/li>\n<li>Confirm that there are no child elements spanning those columns<\/li>\n<\/ul>\n<h3>Implement Auto-Fit<\/h3>\n<p>Auto-fit is a powerful feature of grids that automatically repeats and wraps columns to ensure responsiveness across all screen sizes without needing adjustments for each breakpoint.<\/p>\n<p>To activate auto-fit, maintain only one column and row in your grid. Switch to grid edit mode, click on the column header, specify the minimum and maximum dimensions for the column, and enable <strong>Auto-fit<\/strong>. Additional columns will be generated and repeated automatically to distribute content responsively within your grid.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Use grid to position content within a responsive layout.","protected":false},"author":2,"featured_media":6431,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[284],"tags":[],"class_list":{"0":"post-6430","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-layout-design","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=6430"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/6431"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=6430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=6430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=6430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}