Complete the code to define a base spacing variable in Sass.
$base-spacing: [1];Using 1rem as base spacing is common for fluid spacing because it scales with the root font size.
Complete the code to calculate a fluid margin using the base spacing variable.
margin: $base-spacing [1] 2;
The * operator multiplies the base spacing by 2 to get double the spacing.
Fix the error in the calculation to create a fluid padding value.
padding: calc(#{$base-spacing} [1] 0.5rem);
The + operator correctly adds 0.5rem to the base spacing inside calc().
Fill both blanks to create a fluid gap that scales between 1rem and 2rem based on viewport width.
gap: calc([1] + ([2] - 1rem) * (100vw / 100rem));
The gap starts at 1rem and scales up to 2rem as viewport width increases.
Fill all three blanks to create a fluid font size that scales from 1rem to 1.5rem between 320px and 1280px viewport widths.
font-size: calc([1] + ([2] - [3]) * ((100vw - 320px) / (1280px - 320px)));
The font size starts at 1rem and scales up to 1.5rem as viewport width grows from 320px to 1280px.