— by Nesim
@media
recently got extended by @media (scripting: none | initial-only | enabled)
– to allow for checking if JavaScript is enabled, without the need for workarounds like adding a js-active
class to the body.
Also, media queries became a lot more easier to write, especially with ranges and limits. For example, you can now write @media (600px <= width <=800px )
instead of @media (min-width: 600px) and (max-width: 800px)
.