css

open fun css(value: Property): StringBuilder

This function passes raw CSS code into the underlying model without modification by fritz2 for all media devices at once.

This could be useful for corner cases where our abstractions fail, to use new CSS features we have not yet implemented or simply for toying around with CSS code from external sources.

Parameters

value

raw CSS code as string

open fun css(sm: Property? = null, md: Property? = null, lg: Property? = null, xl: Property? = null)

This function passes raw CSS code into the underlying model without modification by fritz2 for each media device independently.

This could be useful for corner cases where our abstractions fail, to use new CSS features we have not yet implemented or simply for toying around with CSS code from external sources.

Parameters

lg

raw CSS code as string for large media devices

md

raw CSS code as string for medium sized media devices

sm

raw CSS code as string for small media devices

xl

raw CSS code as string for extra large media devices