You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by WebMechanic September 13, 2022
Hello,
we use @custom-media with the PostCSS plugin for or .scss files (Vite), and I was wondering about the reasoning behind intersecting values of the various *-only, *-n-below and *-n-above due to the use of <= and >=
In our copy we eventuall replaced all <= with < and also used more accurate/modern screensizes based on our analytics and matching our content's needs, not the (outdated) "iDevice" values even Apple no longer maintains.
The text was updated successfully, but these errors were encountered:
Discussed in #275
Originally posted by WebMechanic September 13, 2022
Hello,
we use
@custom-media
with the PostCSS plugin for or .scss files (Vite), and I was wondering about the reasoning behind intersecting values of the various*-only
,*-n-below
and*-n-above
due to the use of<=
and>=
transpiles into
Rulesets would then overlap at 1024px letting the cascade win which isn't always possible to control (not using
@layer
).Maybe I'm missing the logic here, but wouldn't this be more accurate?
So, just curious.
In our copy we eventuall replaced all
<=
with<
and also used more accurate/modern screensizes based on our analytics and matching our content's needs, not the (outdated) "iDevice" values even Apple no longer maintains.The text was updated successfully, but these errors were encountered: