I'm trying to find a way to configure css-auto-prefixer in Visual Studio Code so that it prepends the auto-prefixed css values instead of appending them.
For example, when I enter a prefixable property like border-radius
, the auto-prefixer adds -webkit-border-radius
(as expected). However, it currently appends it to the list, leading to issues with browser compatibility.
border-radius: .5rem;
-webkit-border-radius: .5rem;
Since CSS is a cascading style sheet, ideally the unprefixed property should be listed last and the retro properties first for better prioritization.
-webkit-border-radius: .5rem;
border-radius: .5rem;