css input after not working

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