---
title: "Discussion on \"CSS '::before' and '::after'  pseudo elements\" | Hashnode"
description: "Discussion on \"CSS '::before' and '::after'  pseudo elements\". When inspecting the HTML code in the dev tools you might have come across the ::before and ::after in the code. Those are called pseudo elements.\nWhat are pseudo elements\nPseudo element is a keyword added to the selector that allows us to style the s..."
url: "https://hashnode.com/posts/css-before-and-after-pseudo-elements/6167228918374f2573277efc"
---

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

Discussion

# [CSS '::before' and '::after' pseudo elements](https://gladson.hashnode.dev/css-before-and-after-pseudo-elements?utm_source=hashnode&utm_medium=feed)

When inspecting the HTML code in the dev tools you might have come across the ::before and ::after in the code. Those are called pseudo elements. What are pseudo elements Pseudo element is a keyword added to the selector that allows us to style the s...

Oct 13, 2021 · 3 min read · gladson.hashnode.dev  
Read the article

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

## Written by

[Gladson Dsouza](https://hashnode.com/@Gladson)

@Gladson

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
