---
title: "Discussion on \"Link with a line after which change places on hover\" | Hashnode"
description: "Discussion on \"Link with a line after which change places on hover\". I recently had a design that included a link with had a line after the text. When hovering on the link the line should end up before the text.\nThe obvious answer to this was to have two elements positioned using flex. Then on hover just add flex-dire..."
url: "https://hashnode.com/posts/link-with-a-line-after-which-change-places-on-hover/655a511c78a7d0e38f843dc4"
---

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

Discussion

# [Link with a line after which change places on hover](https://blog.nicm42.me.uk/link-with-a-line-after-which-change-places-on-hover?utm_source=hashnode&utm_medium=feed)

I recently had a design that included a link with had a line after the text. When hovering on the link the line should end up before the text. The obvious answer to this was to have two elements positioned using flex. Then on hover just add flex-dire...

Nov 19, 2023 · 3 min read · blog.nicm42.me.uk  
Read the article

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

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

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

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
