I wonder if a `::after ` pseudo element would have worked, instead of creating a real element. Have you tried that ?