Complete the code to define a SASS variable for a breakpoint.
$breakpoint: [1];The variable $breakpoint stores the pixel value for responsive design.
Complete the code to create a mixin for a media query using the breakpoint variable.
@mixin respond-to { @media (max-width: [1]) { @content; } }The mixin uses $breakpoint variable to set the max-width for the media query.
Fix the error in the code to apply styles inside the respond-to mixin.
.container { @include respond-to { width: [1]; } }Using 100% makes the container take full width on smaller screens.
Fill both blanks to create a nested media query inside a class using the respond-to mixin.
.menu { display: flex; [1] respond-to { flex-direction: [2]; } }The @include directive calls the mixin, and column stacks menu items vertically on small screens.
Fill all three blanks to create a responsive card style with padding and font size inside a media query.
.card { padding: [1]; font-size: [2]; @include respond-to { padding: [3]; } }The card has larger padding and font size normally, and smaller padding inside the media query for small screens.