















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















grid-template-rowsgrid-template-columnsgrid-column-gapgrid-row-gapgrid-template-columnsgrid-template-columns property specifies the number and size of columns in a grid layout.fr unit represent in CSS Grid Layout? fr unit represents a fraction of the available space in the grid container.align-itemsjustify-itemsgrid-gap property is used to create space between grid items.__________ property specifies the size of the rows in a grid layout.grid-template-rowsgrid-template-rows property defines the size of the rows in a grid layout.__________ function is used to repeat a set of columns or rows.repeat()repeat() function allows for repeating a set of columns or rows in a grid layout.__________ property aligns grid items along the column axis.align-itemsalign-items property aligns grid items along the column axis (vertically).__________ property.grid-columngrid-column property is used to span a grid item across multiple columns.__________ property is used to define named grid areas.grid-template-areasgrid-template-areas property defines named grid areas for easier placement of items.grid-auto-rows property defines the size of implicitly created rows.grid-auto-rows property specifies the size of rows that are created implicitly.minmax() function in CSS Grid allows you to set a minimum and maximum size for grid tracks.minmax() function sets a minimum and maximum size for grid tracks.grid-area property can only be used to define a single grid item.grid-area property controls the placement of grid items in named grid areas.auto keyword do when used in grid-template- columns or grid-template-rows?auto keyword sets the size of the grid track to fit the content.row-gapcolumn-gapgrid-gapgrid-spacingrow-gaprow-gap property defines the space between rows in a grid layout.grid-template-areas property uses a string syntax to define grid areas. grid-template-areas property uses a string syntax to define named grid areas. Multiple Choice: Which CSS property is used to position an element within the grid system? A) float B) position C) display D) marginRationale: The position property in CSS is specifically used to control the positioning of an element within the grid layout. Fill-in-the-Blank: The z-index property in CSS is used to control the __ of an element.
Fill-in-the-Blank: When using position: fixed, an element is positioned relative to the __.
Rationale: Elements with position: fixed are positioned relative to the viewport and do not move when the page is scrolled. True/False: The display: grid property is used to create a two-dimensional grid-based layout system in CSS.
Rationale: True. The display: grid property in CSS allows for the creation of complex two-dimensional grid layouts. Multiple Choice: Which CSS property is used to specify the size of grid columns and rows? A) grid-gap B) grid-template-columns C) grid-auto-flow D) grid-column
Rationale: The grid-template-columns property is used to define the size of grid columns in a CSS grid layout. Fill-in-the-Blank: The justify-items property in CSS is used to align grid items along the __ axis.
Rationale: The justify-items property aligns grid items along the inline axis within a grid container. True/False: Grid items can span multiple rows and columns in a CSS grid layout.
Rationale: True. Grid items in a CSS grid layout can span across multiple rows and columns using the grid-column and grid-row properties. Multiple Choice: Which value of the align-items property in CSS aligns grid items to the end of the grid container? A) center B) start
Multiple Choice: Which CSS property is used to align grid items within a grid cell? A) justify-self B) align-content C) grid-column-gap D) grid-auto-columns
Rationale: The justify-self property in CSS is used to align grid items within a grid cell along the inline axis. Fill-in-the-Blank: The grid-auto-rows property in CSS specifies the size of __ rows in a grid.
Rationale: The grid-auto-rows property determines the size of implicitly created rows in a grid layout. True/False: Grid items with a specified grid-area value will automatically adjust their size to fit the defined area.
Rationale: True. Grid items with a grid-area value will adjust their size to fit the specified grid area automatically. Multiple Choice: The place-items property in CSS is a shorthand for which two individual properties? A) justify-self and align-self B) align-items and justify-items C) align-content and justify-content D) grid-auto-flow and grid-template-columns
Rationale: The place-items property is a shorthand for setting both the align-items and justify-items properties in CSS. Fill-in-the-Blank: The grid-gap property in CSS is used to specify the __ between grid rows and columns.
Rationale: The grid-gap property defines the spacing between rows and columns in a CSS grid layout.
Rationale: The grid-template-rows property determines the size of explicitly defined rows in a CSS grid layout.
Rationale: The grid-area property specifies a grid item's size, location, and name within a grid layout, allowing for precise positioning.
Rationale: The format for the grid-area property is row-start / column- start / row-end / column-end, so "2 / 1" would position the element in the second row and first column.
justify-self property in CSS Grid is used to align the content of a grid item along the inline axis.Rationale: justify-self in CSS Grid is used to align the item inside its grid area along the inline axis. To align the content along the block axis, you would use the align-self property.
Rationale: The order property in CSS can be used to re-arrange grid items, allowing for custom positioning within the grid layout.
grid-auto-flow property in CSS Grid with the value "row dense", items are packed _______ in the grid.Rationale: The keyword stretch is used with the align-self property in CSS to make a grid item stretch to fill the entire space within its grid area.
grid-column-gap property allows for defining the spacing between columns in a grid layout.Rationale: The grid-column-gap CSS property specifies the size of the gap between the columns in a grid layout.
Rationale: The span() function in CSS Grid is used to specify the location and size of grid items by indicating how many grid tracks a particular item should span.
1 1. Fill-in-the-Blank: In a grid container, the CSS property grid-template- rows is used to define the _______ of the grid rows.
Rationale: The grid-template-rows property in CSS is used to define the height of the rows in a grid layout.
grid-column-start property, it is possible to set a grid item to start on a specific grid line within the grid container.Rationale: The grid-column-start property in CSS Grid allows you to set a grid item to start on a specific grid line within the grid container.
grid-auto-rows property in CSS Grid, what happens if the specified size is insufficient for the content? A) Content overflows the grid item B) Grid item expands in height to accommodate the content C) Content is hidden D) Grid item shrinks to fit the contentcontent