Complete the code to define a print media query in Sass.
@media [1] { body { font-size: 12pt; } }
The @media print rule targets styles specifically for printed documents.
Complete the code to hide an element when printing.
@media print {
.no-print {
[1]: none;
}
}Setting display: none; hides the element completely in print.
Fix the error in the print media query syntax.
@media [1] {
p {
color: black;
}
}The media type should not have a semicolon inside the @media rule.
Fill both blanks to create a Sass mixin for print styles and include it.
@mixin [1] { @media [2] { @content; } } @include print-styles;
The mixin is named print-styles and uses @media print to target print media.
Fill all three blanks to create a print-specific style for links inside a Sass print mixin.
@mixin print-styles {
@media [1] {
a {
color: [2];
text-decoration: [3];
}
}
}The media type is 'print'. Links are colored blue and have no underline in print.
