Skip to content

Instantly share code, notes, and snippets.

@stereokai
Last active March 25, 2024 03:22
Show Gist options
  • Save stereokai/36dc0095b9d24ce93b045e2ddc60d7a0 to your computer and use it in GitHub Desktop.
Save stereokai/36dc0095b9d24ce93b045e2ddc60d7a0 to your computer and use it in GitHub Desktop.
CSS rounded corners with gradient border
.rounded-corners-gradient-borders {
width: 300px;
height: 80px;
border: double 4px transparent;
border-radius: 80px;
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff);
background-origin: border-box;
background-clip: padding-box, border-box;
}
@DominiqueMaik3
Copy link

Muito Bom!!

@DesignHhuang
Copy link

has any way to fix this problem?

@DesignHhuang
Copy link

@polRk has any way to fix this problem?

@ismailhhridoy
Copy link

To the point. Thanks:)

@bedeschiotavia
Copy link

Thank you!!!! Helps a lot

@Nusry-Erabiz
Copy link

Thanks for the help

@CarlosDanielDev
Copy link

Thank you!! saved my day

@baby5
Copy link

baby5 commented Mar 25, 2024

good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment