---
title: "Discussion on \"::Before and ::After What are these CSS pseudo elements?\" | Hashnode"
description: "Discussion on \"::Before and ::After What are these CSS pseudo elements?\". Most times people see the before and after pseudo-elements in a codebase that's not theirs and they start scrambling trying to wonder, what is this strange thing with two colons? Well not to worry, let's look into that, shall we.\nThis article will co..."
url: "https://hashnode.com/posts/before-and-after-what-are-these-css-pseudo-elements/6036340705efef7f0a9d328e"
---

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

Discussion

# [::Before and ::After What are these CSS pseudo elements?](https://nelsonmichael.hashnode.dev/before-and-after-what-are-these-css-pseudo-elements?utm_source=hashnode&utm_medium=feed)

Most times people see the before and after pseudo-elements in a codebase that's not theirs and they start scrambling trying to wonder, what is this strange thing with two colons? Well not to worry, let's look into that, shall we. This article will co...

Feb 24, 2021 · 5 min read · nelsonmichael.hashnode.dev  
Read the article

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

## Written by

[Nelson Michael](https://hashnode.com/@nmNelson)

@nmNelson · silicon valley

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

Front-end Engineer | Technical Writer

Software &amp; Vibes

## Responses 1

Markdown supported · ⌘↵ to post

[Busayo Ojo](https://hashnode.com/@Busayo-ojo)

[Feb 24, 2021](https://hashnode.com/posts/before-and-after-what-are-these-css-pseudo-elements/6036340705efef7f0a9d328e/comment/6036635505efef7f0a9d37e3)

A very informative read
