cssnano removes "all" attribute from css @media query -


i curious if cssnano media queries ok. in css file, have.

@media , ( min-width: 600px) {} 

after running css through cssnano, turns >

@media ( min-width: 600px) {} 

is safe use in production? can't seem find anywhere says not having "all" attribute makes browser default or if not having bad thing sending file production?

i'm author; yes, it's valid. i'll refer original issue in nutshell:

per spec (example 5):

i.e. these identical:

@media , (min-width:500px) { … } @media (min-width:500px) { … } 

as these:

@media (orientation: portrait) { … } @media , (orientation: portrait) { … } 

it seems me stripped...[snip]

https://github.com/ben-eb/cssnano/issues/215


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -