---
title: "Discussion on \"What is ::before and ::after?\" | Hashnode"
description: "Discussion on \"What is ::before and ::after?\". CSS Selector ? CSS Class? CSS Element? Let's find out."
url: "https://hashnode.com/posts/what-is-before-and-after/63767dce36ecd3c0c5439007"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is ::before and ::after?](https://anuj1729blog.hashnode.dev/what-is-before-and-after?utm_source=hashnode&utm_medium=feed)

CSS Selector ? CSS Class? CSS Element? Let's find out.

Nov 17, 2022 · 2 min read · anuj1729blog.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#css](https://hashnode.com/tag/css)
-   [#pseudo-elements](https://hashnode.com/tag/pseudo-elements)

## Written by

[Anuj Mistry](https://hashnode.com/@anuj1729)

@anuj1729

  
[View profile](https://hashnode.com/@anuj1729)

Learning more about the world we live in

## Responses 2

Markdown supported · ⌘↵ to post

[Elikem](https://hashnode.com/@eskay_amadeus)

[Dec 29, 2022](https://hashnode.com/posts/what-is-before-and-after/63767dce36ecd3c0c5439007/comment/63ad983f7b8fdd35d9c0adf7)

Great article!

[Anuj Mistry](https://hashnode.com/@anuj1729)

[Dec 29, 2022](https://hashnode.com/posts/what-is-before-and-after/63767dce36ecd3c0c5439007/comment/63ad983f7b8fdd35d9c0adf7#reply-63ada230be2c713764ff5d2c)

Thanks😄

[Elikem](https://hashnode.com/@eskay_amadeus)

[Dec 29, 2022](https://hashnode.com/posts/what-is-before-and-after/63767dce36ecd3c0c5439007/comment/63ad981960b89435b4558cf9)

Selector: A way to _reference_ ...
