Suggest an editImprove this articleRefine the answer for “What does ::before do?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**`::before`** is a CSS pseudo-element created before the content of the selected element, used for decorative details or extra text. **Key point:** it requires the `content` property to be displayed.Shown above the full answer for quick recall.Answer (EN)Image`::before` creates a pseudo-element **before the content** of the selected element. It is used for decorative details (icons, lines, shapes) or extra text. To display, it requires the `content` property.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.