-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore sorting of property 'all' #181
Comments
PR is welcome. Keep in mind that postcss-sorting, library powering auto-fixing part of this plugin, should also be updated. Alternatively you could try a workaround. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A common way to unset default styling is by using the property
all
with the valueunset
. This is especially useful for resetting any default styling provided by browsers to elements such asbutton
andinput
, which then makes it possible to provide your own styling. However, the alphabetical ordering of properties does not allow you to keepall: unset
as the first property resulting in any other properties, such asalign-items
being placed beforeall: unset
therefore making it useless.Perhaps
all: unset
should be exempt from the sorting?The text was updated successfully, but these errors were encountered: