---
title: "Discussion on \"Create a Gradient Border with CSS [Just 2 Lines]\" | Hashnode"
description: "Discussion on \"Create a Gradient Border with CSS [Just 2 Lines]\". Creating a CSS Gradient Border that goes with an element shape without using SVG, Pseudo Elements, or border image"
url: "https://hashnode.com/posts/create-a-gradient-border-with-css-just-2-lines/65ceb9f6b796044db00edf14"
---

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

Discussion

# [Create a Gradient Border with CSS \[Just 2 Lines\]](https://gorithm.hashnode.dev/create-a-gradient-border-with-css-just-2-lines?utm_source=hashnode&utm_medium=feed)

Creating a CSS Gradient Border that goes with an element shape without using SVG, Pseudo Elements, or border image

Feb 16, 2024 · 2 min read · gorithm.hashnode.dev  
Updated Feb 18, 2024  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#html5](https://hashnode.com/tag/html5)
-   [#html](https://hashnode.com/tag/html)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#tips](https://hashnode.com/tag/tips)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#gradients-in-css](https://hashnode.com/tag/gradients-in-css)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#coding](https://hashnode.com/tag/coding)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Gorithm](https://hashnode.com/@gorithm)

@gorithm

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

Frontend Web Developer & UI Designer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
