Indentation in emacs css mode was driving me crazy. Luckily I found this blog entry who quotes this blog entry who quotes yet another source that is offline now.
These settings didn't quite work though. CSS mode had to be loaded, before setting the cssm variables worked.
The resulting block in my .emacs:
;; fix css mode
(require 'css-mode)
(setq cssm-indent-level 2)
(setq cssm-newline-before-closing-bracket t)
(setq cssm-indent-function #'cssm-c-style-indenter)
(setq cssm-mirror-mode t)
This still gives an error on the first edit on a new css file. But works as intended in normal circumstances. Back to work now 