допустим есть <input type="text" placeholder="your name" required />. мне нужно с помощью css добавить * в конце placeholder из-за того что это required input
допустим есть <input type="text" placeholder="your name" required />. мне нужно с помощью css добавить * в конце placeholder из-за того что это required input
input:required:after { content: '*'; position: relative; top: 5px; right: 5px; } А там дальше позиционируй эту звёздочку координатами