CSS error - Bad token in selector: @media
Posted: Wed May 10, 2023 12:45 am
Hi,
When previewing a topic from my project, I get this error :
Line: 4646. Char: 0. Bad token in selector: @media
The preview is shown correctly though.
And also, the html5 output is correct, works fine.
So any ideas why the error pops up? It's annoying .
Attached a screenshot of the part of the CSS on which the error is thrown.
I use a lot of @media sections like that one for responsive design of blocks on pages (dynamically changing font sizes etc).
When previewing a topic from my project, I get this error :
Line: 4646. Char: 0. Bad token in selector: @media
The preview is shown correctly though.
And also, the html5 output is correct, works fine.
So any ideas why the error pops up? It's annoying .
Attached a screenshot of the part of the CSS on which the error is thrown.
I use a lot of @media sections like that one for responsive design of blocks on pages (dynamically changing font sizes etc).