Answer by mikemaccana for Border Gradient with Border Radius
2023 - single element, no pseudo elements, no SVG, no masks.I can't take credit for this, I saw this on a website (I forgot the site and can't find it again).It's just a normal button with rounded...
View ArticleAnswer by Georgi Penchev for Border Gradient with Border Radius
You need to wrap the button in a div and set the border-radius on that parent div. In order to work, you will have to set overflow:hidden to that parent div as well. Like so:.btn-wrap { border-radius:...
View ArticleAnswer by Temani Afif for Border Gradient with Border Radius
2024: If you want transparency, I recommend using the CSS mask method since the support is pretty good nowYou cannot use border-radius with gradient. Here is another idea where you can rely on multiple...
View ArticleBorder Gradient with Border Radius
I have the following CSS:a.btn.white-grad { background: $lgrey; color: #313149 !important; border: 1px solid #000; border-image-source: linear-gradient(to right, #9c20aa, #fb3570); border-image-slice:...
View Article
More Pages to Explore .....