---
title: "Discussion on \"CSS Before and After Pseudo-Elements Explicitly Explained\" | Hashnode"
description: "Discussion on \"CSS Before and After Pseudo-Elements Explicitly Explained\". Explicit explanation of how the ::before and ::after pseudo-elements work."
url: "https://hashnode.com/posts/css-before-and-after-pseudo-elements-explicitly-explained/6114e2f5611d5c199a2fbc30"
---

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

Discussion

# [CSS Before and After Pseudo-Elements Explicitly Explained](https://nnekasandra.hashnode.dev/css-before-and-after-pseudo-elements-explicitly-explained?utm_source=hashnode&utm_medium=feed)

Explicit explanation of how the ::before and ::after pseudo-elements work.

Aug 12, 2021 · 3 min read · nnekasandra.hashnode.dev  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#web-design](https://hashnode.com/tag/web-design)
-   [#web](https://hashnode.com/tag/web)

## Written by

[Njoku Nneka Sandra](https://hashnode.com/@nnekasandra)

@nnekasandra · Enugu, Nigeria

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

Web development (frontend), Technical Writer

I love learning and creating😊

## Responses 2

Markdown supported · ⌘↵ to post

[Ahemen Jehoshaphat](https://hashnode.com/@C8tor2312)

[Aug 3, 2023](https://hashnode.com/posts/css-before-and-after-pseudo-elements-explicitly-explained/6114e2f5611d5c199a2fbc30/comment/64cb6c5538b248b9c360ae0d)

I just got to know how pseudo-elements work. Thank you.

[Livinus Nwafor](https://hashnode.com/@Nolwac)

[Aug 12, 2021](https://hashnode.com/posts/css-before-and-after-pseudo-elements-explicitly-explained/6114e2f5611d5c199a2fbc30/comment/611519ea1f1bd93c4f35ae32)

I thought I knew it all concerning the before and after pseudo-elements, thanks for sharing.

Your explanations is very comprehensive and at same time straight to the point. 🙌

[Njoku Nneka Sandra](https://hashnode.com/@nnekasandra)

[Aug 12, 2021](https://hashnode.com/posts/css-before-and-after-pseudo-elements-explicitly-explained/6114e2f5611d5c199a2fbc30/comment/611519ea1f1bd93c4f35ae32#reply-61159da81f1bd93c4f35ba3a)

Thank you I'm glad it helped ☺️🙌
