Complete the code to import a built-in Sass module.
@use '[1]'; .my-class { color: blue; }
Using @use 'sass:math'; imports the built-in math module in Sass, which helps organize functions.
Complete the code to use a function from the math module.
@use 'sass:math'; .my-class { width: math.[1](10px, 3); }
pow which raises to a power, not rounding.ceil or floor with round.The round function rounds a number to the nearest integer, useful for clean CSS values.
Fix the error in the code by completing the blank.
@use 'sass:color'; .my-class { background-color: color.[1](red, $alpha: 0.5); }
darken or lighten which change brightness, not transparency.mix which blends colors, not adjust alpha.The adjust-alpha function changes the transparency (alpha) of a color, which is needed here.
Fill both blanks to create a map of colors with opacity adjusted.
$colors: ( primary: color.[1](blue, $alpha: 0.8), secondary: color.[2](green, $alpha: 0.6) );
darken and lighten functions.mix which blends colors instead of adjusting alpha.Use adjust-alpha to set opacity for both primary and secondary colors.
Fill all three blanks to create a responsive color scheme using modular built-ins.
$theme-colors: ( base: color.[1](black, $alpha: 0.9), highlight: color.[2](yellow, $alpha: 0.7), shadow: color.[3](gray, $alpha: 0.5) );
adjust-alpha incorrectly for blending colors.darken and lighten roles.Use mix to blend black with transparency for base, darken to deepen highlight, and lighten to brighten shadow color.