Check if you installed PostCSS Language Support vscode ext, try format again after disabling it and reload the vscode window.
PostCSS Language Support