---
title: "Discussion on \"::before and ::after on CSS - Guide For Beginners\" | Hashnode"
description: "Discussion on \"::before and ::after on CSS - Guide For Beginners\". Adding elements without altering the HTML? Empty content string? Let's learn more about it!"
url: "https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6"
---

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

Discussion

# [::before and ::after on CSS - Guide For Beginners](https://yuricodesbot.hashnode.dev/before-and-after-on-css-guide-for-beginners?utm_source=hashnode&utm_medium=feed)

Adding elements without altering the HTML? Empty content string? Let's learn more about it!

Sep 20, 2021 · 4 min read · yuricodesbot.hashnode.dev  
Updated Dec 29, 2021  
Read the article

-   [#hashnodebootcamp](https://hashnode.com/tag/hashnodebootcamp)
-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#developer](https://hashnode.com/tag/developer)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Yuri](https://hashnode.com/@YuriCodesBot)

@YuriCodesBot

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

Twitter: @Yuricodesbot | Self/Community Taught | Writer | Let's learn together

I'm self/community-taught from Law to now Full-Stack Developer! Sharing my notes and knowledge hoping i help this lovely community. Learn with me! :)

## Responses 6

Markdown supported · ⌘↵ to post

[brucce tran](https://hashnode.com/@bruccetran)

[Jun 10, 2022](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/62a37941165482d2b3ee9d86)

good job Yuri.

[Pato Codes](https://hashnode.com/@pat0)

[Sep 27, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/61520315cf735d72249a894b)

Very insightful article, thanks learnt something new

[Sumudu Siriwardana](https://hashnode.com/@sumudusiriwardana)

[Sep 21, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/61497cba699fe76cd3485a1e)

Nicely written and well-explained article for beginners, Yuri!

[Raif Shareef](https://hashnode.com/@raif)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/6148456e699fe76cd3484110)

Fantastic job making css animation super simple!

[Yuri](https://hashnode.com/@YuriCodesBot)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/6148456e699fe76cd3484110#reply-6148a90b17da986cea647fe4)

Thank you! Animations are super fun :)

[Ankur Tyagi](https://hashnode.com/@TheAnkurTyagi)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/61483bb9699fe76cd3483f2c)

Excellent work [Yuri](https://hashnode.com/@YuriCodesBot)

[Yuri](https://hashnode.com/@YuriCodesBot)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/61483bb9699fe76cd3483f2c#reply-6148a916699fe76cd3484c42)

Thank you for reading! :)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/6148272017da986cea6470e2)

Well done Yuri!

Amazing cool article and well explained

[Yuri](https://hashnode.com/@YuriCodesBot)

[Sep 20, 2021](https://hashnode.com/posts/before-and-after-on-css-guide-for-beginners/6147de10699fe76cd34836c6/comment/6148272017da986cea6470e2#reply-6148a93017da986cea647fed)

Thank you, Chris! Means a lot :)
