Closed derSascha closed 1 year ago
Look into at-rule's parameter https://github.com/hudochenkov/postcss-sorting/blob/master/lib/order/README.md#extended-at-rule-objects
Something like:
{
type: 'at-rule',
name: 'media',
parameter: '(min-width: 576px)'
}
You would need to specify every parameter
.
Thanks for the great postcss plugin! Having some trouble with Bootstrap that uses the fact that only the last matching rule is used in browser:
Sorting them in the wrong order breaks them. Not sure if it might be possible to sort simple media queries that contain only a
min-width
or amax-width
query by numbers. Something like this: