Created
March 27, 2023 19:46
-
-
Save shredthaGNAR/fd27b38f731931aebb7c8411411ef176 to your computer and use it in GitHub Desktop.
[Rounded Corners Gradient Gradient Borders CSS] Create rounded corners with borders CSS code #css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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: content-box, border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment