docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
Build a responsive grid system for a web application that needs to adapt to specific device categories. The application targets three distinct viewport sizes with custom breakpoint thresholds that differ from standard Material Design defaults.
Create a Sass-based grid stylesheet that:
Defines custom responsive breakpoints at the following thresholds:
Configures the grid to use these custom breakpoints instead of the Material Design defaults
Sets appropriate gutter spacing for each breakpoint:
Generates the necessary CSS classes that work with the custom breakpoints
Provide a single Sass file (grid.scss) that imports and configures the layout grid package with the custom breakpoints and gutter specifications.
The file should:
@use "@material/layout-grid/mdc-layout-grid"Provides responsive grid layout functionality with configurable breakpoints.
@test
Input: Compile the Sass file with the custom breakpoint configuration
Expected Behavior: The generated CSS should apply grid styles at the custom breakpoint thresholds (768px and 1200px) rather than the default Material Design breakpoints (600px and 840px)
@test
Input: Compile the Sass file with custom gutter values
Expected Behavior: The generated CSS should use the specified gutter spacing values (12px, 20px, 32px) for the respective breakpoints