You can rename CSS selectors directly in HTML. Position the caret at the selector to be renamed and press &shortcut:RenameElement; (Refactor | Rename).