Comments on: border-image https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Mon, 05 Dec 2022 21:28:20 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Geoff Graham https://css-tricks.com/almanac/properties/b/border-image/#comment-1787778 Mon, 03 Jan 2022 15:21:12 +0000 http://css-tricks.com/?page_id=19812#comment-1787778 In reply to jakob.

Hey, so the viewBox isn’t so much about the size of the SVG as it is the dimensions and position of it. It still accepts width and height attributes to define the physical size — which is the advice given in the article.

]]>
By: jakob https://css-tricks.com/almanac/properties/b/border-image/#comment-1787774 Mon, 03 Jan 2022 11:10:57 +0000 http://css-tricks.com/?page_id=19812#comment-1787774

This can be confusing in practice, so it’s helpful to set a size for the SVG when possible.

I’m confused so how do I set a size for my svg? It already has a viewbox argument and consist of a path defined by coordinates.

]]>
By: Geoff Graham https://css-tricks.com/almanac/properties/b/border-image/#comment-1763460 Wed, 30 Sep 2020 14:42:06 +0000 http://css-tricks.com/?page_id=19812#comment-1763460 In reply to Akhilesh Burathoki.

Hey there! I don’t believe so. Adding border-radius to an element that already has a border image will round the corners of the element’s box, but will leave the image in tact. Here’s an example forked from the demo in this post: https://codepen.io/geoffgraham/pen/qBZGLqd

]]>
By: Akhilesh Burathoki https://css-tricks.com/almanac/properties/b/border-image/#comment-1763444 Wed, 30 Sep 2020 08:35:21 +0000 http://css-tricks.com/?page_id=19812#comment-1763444 can i give border radius to border image source?

]]>
By: Gedeon https://css-tricks.com/almanac/properties/b/border-image/#comment-1760407 Wed, 22 Jul 2020 00:10:38 +0000 http://css-tricks.com/?page_id=19812#comment-1760407 Hi. I always enjoy your posts and written tutorials.

I have a project that I’m working on and I’m actually done with it, BUT I have to implement a custom scrollar with a round thumb just exactly like in the css-tricks.com website. Please kindly tell me how you have done this as soon as possible. Thank you in advanced. stay safe.

]]>
By: RFTaurus https://css-tricks.com/almanac/properties/b/border-image/#comment-1752907 Wed, 04 Dec 2019 10:21:17 +0000 http://css-tricks.com/?page_id=19812#comment-1752907 Can border-image be used to make something like pipeline in this problem?

https://stackoverflow.com/questions/59170127/how-can-i-make-a-pipeline-using-border-in-css

]]>
By: Dante https://css-tricks.com/almanac/properties/b/border-image/#comment-1655387 Sun, 06 Jan 2019 16:06:05 +0000 http://css-tricks.com/?page_id=19812#comment-1655387 In reply to Roheet.

Wow! Nice question!
I hope it could be answered soon!

]]>
By: Roheet https://css-tricks.com/almanac/properties/b/border-image/#comment-1652288 Fri, 21 Sep 2018 10:49:06 +0000 http://css-tricks.com/?page_id=19812#comment-1652288 how to apply border image to an rounded image or div?

]]>
By: Geoff Graham https://css-tricks.com/almanac/properties/b/border-image/#comment-1613978 Sun, 24 Dec 2017 15:54:43 +0000 http://css-tricks.com/?page_id=19812#comment-1613978 In reply to MaraKat.

Is your internet connection behind a firewall? The content in those frames is served from CodePen. I’m happy to send you the direct links to the demos:




]]>
By: MaraKat https://css-tricks.com/almanac/properties/b/border-image/#comment-1613949 Fri, 22 Dec 2017 13:13:44 +0000 http://css-tricks.com/?page_id=19812#comment-1613949 Hello !
Can you tell me why I cannot display the content of the black screens ?
https://image.prntscr.com/image/iw8YSKfETq_kheO1Xic9bg.png

It says
“CodePen requires a referrer
to render this. Your browser
isn’t sending one.

If you have questions,
contact support@codepen.io.”

I use SeaMonkey as a browser, last release and I do not remember having configured anything related to referer sending.

Thanks

]]>
By: boris m https://css-tricks.com/almanac/properties/b/border-image/#comment-1602348 Tue, 21 Jun 2016 12:25:30 +0000 http://css-tricks.com/?page_id=19812#comment-1602348 In reply to Ray Whitfield.

can’t seem to get it to work… care to post an example?

]]>
By: David https://css-tricks.com/almanac/properties/b/border-image/#comment-1602273 Thu, 16 Jun 2016 21:26:50 +0000 http://css-tricks.com/?page_id=19812#comment-1602273 In reply to Ray Whitfield.

Yeah, just link to it via ID’s

]]>
By: Nigel Anderson https://css-tricks.com/almanac/properties/b/border-image/#comment-1597918 Wed, 11 Nov 2015 11:47:42 +0000 http://css-tricks.com/?page_id=19812#comment-1597918 Comprehensive and helpful, thanks Marie.

Viewing this page in Safari reveals that it does not support round for border-image-repeat, it treats it as repeat.

]]>
By: Marie Mosley https://css-tricks.com/almanac/properties/b/border-image/#comment-1595759 Fri, 10 Jul 2015 15:58:49 +0000 http://css-tricks.com/?page_id=19812#comment-1595759 In reply to Dmitriy.

Yes, you can. There’s a little trick to it — you need to set the border-image-width for the other 3 borders to 0 because their initial value is 1. This CSS tab in this pen shows a way to do that:

http://codepen.io/mariemosley/pen/f085e48aa08096ce15a6dccda12f68fc

]]>
By: Dmitriy https://css-tricks.com/almanac/properties/b/border-image/#comment-1595758 Fri, 10 Jul 2015 15:36:46 +0000 http://css-tricks.com/?page_id=19812#comment-1595758 Can I use image only for border-bottom or border-top? (Sorry for bad English)

]]>