What is the difference between pseudo-elements :after and ::after?
Explanation
In CSS2, they are denoted by a single colon (":").
In CSS3, pseudo-elements began to be denoted by two colons("::") for making syntax different from pseudo-classes (":").
Browsers, as a rule, understand both syntaxes.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по HTML & CSS
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты