0
0
SASSmarkup~5 mins

Responsive grid with breakpoints in SASS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a breakpoint in responsive web design?
A breakpoint is a specific screen width where the layout changes to better fit the device, like switching from a single column on phones to multiple columns on desktops.
Click to reveal answer
beginner
How does a grid system help in responsive design?
A grid system divides the page into columns and rows, making it easier to arrange content that adjusts smoothly across different screen sizes.
Click to reveal answer
intermediate
In Sass, how do you define a breakpoint for screens wider than 768px?
You use a media query like:
@media (min-width: 769px) { /* styles here */ }
This applies styles only when the screen is at least 769 pixels wide.
Click to reveal answer
intermediate
What Sass feature helps you avoid repeating media query code for multiple breakpoints?
Using mixins lets you write reusable media query blocks. For example, you can create a mixin for a breakpoint and include it wherever needed.
Click to reveal answer
beginner
Why use relative units like rem or % in a responsive grid?
Relative units scale better on different devices and respect user settings, making layouts more flexible and accessible.
Click to reveal answer
What does a media query with min-width: 600px do?
AApplies styles only when the screen is at least 600px wide
BApplies styles only when the screen is smaller than 600px
CApplies styles on all screen sizes
DDisables styles on screens wider than 600px
Which Sass feature helps reuse code for different breakpoints?
AVariables
BMixins
CFunctions
DPlaceholders
In a responsive grid, what unit is best for flexible column widths?
APixels (px)
BRem
CPercent (%)
DPoints (pt)
What is the main purpose of breakpoints in a grid layout?
ATo change layout based on screen size
BTo add colors
CTo increase font size only
DTo hide all content
Which CSS property is commonly used to create a grid layout?
Adisplay: flex
Bdisplay: block
Cdisplay: inline
Ddisplay: grid
Explain how you would create a responsive grid using Sass with breakpoints.
Think about how to write media queries in Sass and how to make columns flexible.
You got /4 concepts.
    Describe why breakpoints are important in responsive web design and how they affect grid layouts.
    Consider how websites look on small vs large screens.
    You got /4 concepts.