Quantcast
Channel: Border Gradient with Border Radius - Stack Overflow
Browsing latest articles
Browse All 4 View Live

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 Article



Answer 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 Article

Image may be NSFW.
Clik here to view.

Answer 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 Article

Border 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
Browsing latest articles
Browse All 4 View Live




Latest Images