ftd.document
.breakpoint
attribute
of ftd.document to specify your custom breakpoint width beyond/below
which the browser will render the contents in desktop/mobile mode.breakpoint
attribute of ftd.document. Here is how we can define it.-- ftd.document:
breakpoint: 800
-- ftd.text: Desktop Text
color: blue
text if { ftd.device == "mobile" }: Mobile Text
-- end: ftd.document
Mobile text
when the browser width
is equal or below 800px and show Desktop text
when the browser width is above 800px.
And this is how we can define custom breakpoints for our fastn documents.