css input after not working

CSS
The ':before' and ':after' pseudo-elements can be used to insert generated content before or after an element's content.

Since input cannot have content, it does not support it
Source

Also in CSS: