CSS Tips & Tricks: How to add a placeholder to an empty element with CSS

preview_player
Показать описание
The empty CSS pseudo-class is a handy way to add a placeholder to an element that has no children.

Рекомендации по теме