Only 2 concerns I have with that approach, I suppose; and this is not because I want to downplay your solution at all.
With that said, it's amazing what CSS can do by itself! (Nothing new, I know...)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.