D
D
Dmitry Katyushin2017-01-06 15:58:30
css
Dmitry Katyushin, 2017-01-06 15:58:30

:after is not displayed, what is the reason?

SAM CODE
Hello. I don't understand why :after doesn't work . It seems that everything is registered, or something is missed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory S., 2017-01-06
@A1ike

Тэг input не поддерживает псевдоэлементы, т.к. не содержат контент (не являются "контейнерными" элементами).
Оберните в div и стилизуйте.

A
Alexander Belov, 2017-01-06
@AlexanderBelov

Can't be implemented in CSS, but jQuery can be used

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question