docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
Build a customized responsive grid system with specific spacing requirements that differ from the default Material Design values.
You need to create a Sass stylesheet that customizes a responsive grid layout with the following specifications:
Configure the grid with these exact spacing values:
Desktop (≥840px):
Tablet (600-839px):
Phone (<600px):
Create a file named custom-grid.scss that:
The output should be a valid Sass file that can be compiled to CSS.
When compiled, the resulting CSS should include desktop gutter spacing of 32px between grid cells.
When compiled, the resulting CSS should include tablet outer margins of 24px.
When compiled, the resulting CSS should include phone gutter spacing of 12px between grid cells.
When compiled, the resulting CSS should limit the grid container to a maximum width of 1280px.
// Custom grid configuration that outputs configured grid CSS
@use "@material/layout-grid";Provides the responsive grid system with configurable spacing.