Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
EMMANUEL GENARD
3,790 PointsVector Coordinates in border image slice?
I've searched the internet for this but I can't find an answer, I hope someone hear knows this.
In every explanation of border-image-slice it is mentioned that if the value is a number that number will be translated to pixels for raster images and vector coordinates for vector image.
I understand that if I put the raster image as a border image and I put the value for the slice at:
border-image-slice: 30 40 The browser will slice 30 pixels into the top and bottom of the image and 40 pixels into the left and right of the image. What happens if I use the same values for an svg image?
1 Answer
Nick Pettit
Treehouse TeacherHi EMMANUEL GENARD,
Sorry for the slow reply. Guil Hernandez should be able to help you with this.
Nick