Rounded Corners
Round the corners of an image by appending filters:round_corner(A|B,R,G,B,T) The parameters are defined as follows:
- A (Radius): Integer specifying the corner radius. It ranges from
0to half the image width (based on either the original or resized width). - B (Ellipsis): Optional integer defining the curvature. It ranges from
0to one-fourth of the image width (based on either the original or resized width). - R, G, B (Background Color): Integer values (
0-255) representing the RGB color of the background outside the rounded corners. - T (Transparency): Boolean with a value of either
0(opaque) or1(transparent). Try the interactive demo below.
Copied to the clipboard
Thanks! We received your feedback.
An error occurred. Please try again.
Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy. Terms of Service apply.
Get in touch with the Storyblok community