As an example, on a laptop that has a large screen, but no dedicated graphics card, the rule:
.menu-item:hover {
filter: blur(5px);
}
lags significantly, but it's not easy to target with just a @media (max-width: 600px)
or @supports
query.
Ideally, it would be amazing to have something like
@performance ("good enough to handle whatever it is in question") {}
or if the @supports
media query took performance into account.
Does such a thing exist? Or is there any way to work out something analogous?