Can anyone explain the border-image-slice feature to me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone explain the border-image-slice feature to me?

/* All sides */ border-image-slice: 30%; /* vertical | horizontal */ border-image-slice: 10% 30%; /* top | horizontal | bottom */ border-image-slice: 30 30% 45; /* top | right | bottom | left */ border-image-slice: 7 12 14 5; /* Using the `fill` keyword */ border-image-slice: 10% fill 7 12; /* Global values */ border-image-slice: inherit; border-image-slice: initial; border-image-slice: unset;

19th Feb 2021, 6:55 AM
Hadital
Hadital - avatar
2 Answers
0
There is nothing wrong with trying different resources if one resource isn't explaining things in a way that you may understand. https://css-tricks.com/understanding-border-image/ https://tympanus.net/codrops/css_reference/border-image-slice/ Google search for more If these still don't help.
19th Feb 2021, 12:23 PM
Chris Coder
Chris Coder - avatar