---
title: "Discussion on \"How to prevent ::after pseudo-element from wrapping to the next line\" | Hashnode"
description: "Discussion on \"How to prevent ::after pseudo-element from wrapping to the next line\". CSS - Pseudo Elements Tutorial"
url: "https://hashnode.com/posts/how-to-prevent-after-pseudo-element-from-wrapping-to-the-next-line/63457ba109d0ed46eb3751f8"
---

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

Discussion

# [How to prevent ::after pseudo-element from wrapping to the next line](https://judet.hashnode.dev/how-to-prevent-after-pseudo-element-from-wrapping-to-the-next-line?utm_source=hashnode&utm_medium=feed)

CSS - Pseudo Elements Tutorial

Oct 11, 2022 · 3 min read · judet.hashnode.dev  
Read the article

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

## Written by

[Jude Odofori](https://hashnode.com/@Judet)

@Judet · Abuja, Nigeria.

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

I enjoy coding & love writing...

Software Developer || Technical Writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
