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
At the very least we'll need separate stylesheets for media queries to override other styles, as they have 0 extra specificity. May also want a separate stylesheet for shorthands so that we can place non-shorthands after and have them always override.
As a last resort we can ask users to apply !important which isn't the end of the world as it's easy enough to reason about because we'd still only have 2 levels of specificity.
Can also add some api to apply some vanity class to raise specificity of certain selectors for overriding:
At the very least we'll need separate stylesheets for media queries to override other styles, as they have 0 extra specificity. May also want a separate stylesheet for shorthands so that we can place non-shorthands after and have them always override.
As a last resort we can ask users to apply
!important
which isn't the end of the world as it's easy enough to reason about because we'd still only have 2 levels of specificity.Can also add some api to apply some vanity class to raise specificity of certain selectors for overriding:
Can translate to:
With the following css injected:
(With specificity of 2+, we can chain more .r_s classes like
.r_s.r_s.r_s.r_someotherhash
)The text was updated successfully, but these errors were encountered: