border-radius
property rounds the corners of the border. It takes input of
type ftd.length
and is optional.
We have a text here inside the container component column. border-width
and
border-color
and padding
is already applied to this text.
border-radius
we need to write border-radius.px
followed by a
colon and give a pixel value.-- ftd.text: Hello
border-width.px: 2
border-color: red
border-radius.px: 10
-- ftd.row:
width: fill-container
border-width.px: 2
border-color: red
spacing.fixed.px: 10
padding.px: 10
align-content: center
border-radius.px: 10
-- ftd.text: Hello
-- ftd.text: World
-- end: ftd.row
-- ftd.image:
width.fixed.px: 400
src: $fastn-assets.files.planning.border-radius.ocean.jpg
border-radius.px: 15
border-radius
in fastn
. Feel free to reach
out and ask your doubts, if you have any.