+ 6

How to add gradient effect in border color?

Hey! I am unable to add gradient effect in border color. If you know then please share.

6th Jun 2019, 10:43 AM
Alex Advent
Alex Advent - avatar
6 odpowiedzi
6th Jun 2019, 11:07 AM
Вап
+ 4
It's not possible to add a gradient border. But you can use one wrapper element like a <div> with background: linear-gradient and then an inner element blocking out most of that background.
6th Jun 2019, 10:56 AM
Giorgos Mariettakis
Giorgos Mariettakis - avatar
+ 2
add gradient effect in border color Use the background property
6th Jun 2019, 7:46 PM
‎محمد النزهي‎
‎محمد النزهي‎ - avatar
+ 2
Or you can create them with svg
7th Jun 2019, 4:15 PM
Daniel Brooks
Daniel Brooks - avatar
+ 1
Instead of "solid", use "gradient".
8th Jun 2019, 4:38 AM
Gayani Abeykoon
Gayani Abeykoon - avatar
+ 1
Here’s a full tutorial on CSS Graidents: https://youtu.be/TYHFe4L9bfo
25th Oct 2019, 10:15 AM
Dev Dreamer - YouTube
Dev Dreamer - YouTube - avatar