`counsel-css` is an ivy-mode backend for css selectors (works for SCSS and LESS too). It also has a hook to integrate its parser into Imenu.