A CodePen by Serg. Catch CSS events - it's even possible to catch the DOM insertion event