error when compiling multiple media queries with css``
Opened this issue · 0 comments
jbelfodil commented
Hi,
I'm trying to get :
@media (min-width: 100px) and (max-width: 200px) {
position: relative;
}
So I wrote :
const rule = css`
@media (min-width: 100px) and (max-width: 200px) {
position: relative;
}
But I've this error on the compilation :
Expected ",", "{", or whitespace but "a" found.
I tried to separate the media queries with a coma but it's not valid css so it doesn't work..
Thx