border-radius
Video Title: How to add rounded corners
Owner: Ajit
Audience: Common
Goal: Make it easy to learn addingborder-radius
propertyborder-radius
in fastn
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