Imgix APIsRendering APIBorder & PaddingBorder Stroke Size

Border Stroke Size

border-stroke-size

The border-stroke-size parameter allows you to dynamically increase or decrease the thickness of a stroke applied around an image border. It works in conjunction with border-stroke-color to create a visually prominent outline, useful for highlighting images, creating frames, or enhancing design contrast.

border-stroke-size example