Some times simply disable CSS formatting entirely:
"[css]": { "editor.formatOnSave": false }
Then format only HTML/JS/TS/Svelte/etc.