whether you can use the custom CSS in the properties of PDF Template or U can write your own CSS styles in vs code and configure them with the application
custom styling of the PDF document can be done using CSS, which can be added to the Custom style
box in the Document Template properties. However, please note that the Custom style
box supports a subset of CSS and not all properties might be available.
Select the Document Template properties.
In the Custom style
box, write your CSS rules.
Make sure that the CSS syntax is correct
Keep in mind that you cannot link to external style sheets or images due to the way PDF generation works in Mendix, all styling needs to be inline using the Custom style
box.