@media print doesnt work in BSS

Hi guys,

i added this code to my styles.css

but after saving it does not appear in the file

@media print {
body {
font-size: 0.5em;
color: red;
}
}

any help?

Create a scss file (print.scss) and put your print styles in there. This seems to work when compiled and when exported it will add the working styles to the styles.min.css file.

2 Likes

Oh yes that works, thanks a lot!

1 Like

In bss select a css stylesheet add your class

body {
    font-size: 0.5em;
    color: red;
  }

then click the three dots select add mediaquery
replace everything after the @query with print so it looks like this @query print

that’s how you do it in a css stylesheet in bss

oh yet it works, and thats even better! thx a lot for the quick help!