+ 5

CSS: Background-clip: border-box _ HELP

I want the linear-gradient to be on the border, (my code doesn't seem to work). Also if the border takes the linear gradient, the. The background/color: should be transparent. https://code.sololearn.com/WrDX55eX88rN/?ref=app

28th Jul 2019, 7:12 PM
Ginfio
Ginfio - avatar
4 Answers
+ 8
border-image: linear-gradient(50deg, blue, yellow); border-image-slice: 1; https://code.sololearn.com/WroFXn1pSSKP/?ref=app
29th Jul 2019, 12:49 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 5
Try without vendor prefixes 16.17 lines
28th Jul 2019, 7:21 PM
Anna/Аня
Anna/Аня - avatar
+ 4
-webkit-
28th Jul 2019, 8:31 PM
Anna/Аня
Anna/Аня - avatar
+ 1
Anna what is vendor prefix 16.17 lines?
28th Jul 2019, 8:04 PM
Ginfio
Ginfio - avatar