# Pseudo-Elements: ::before, ::after and ::marker

Pseudo-elements style a part of an element, or add decoration before or after it, such as a play icon, a quote mark, a list's numbers, a text box's placeholder or highlighted text, without changing the HTML.

![Cheat sheet: Pseudo-Elements: ::before, ::after and ::marker](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/32ba372ee84343a99180f759959cc406.webp)

- Category: CSS
- Level: Apprentice
- Tags: ::after, ::before, ::marker, CSS, placeholder, Pseudo-element
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-pseudo-elements-cheat-sheet
