Jump to main content Jump to doc navigation

Output modifier that adds basic browser prefixes to $input strings

Examples:

[[+my_radius_css:prefix]]

Where the value of the placeholder is 'border-radius: 3px;'

Results:

-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
[[prefix?to=`transition: all 300ms ease;` &options=`all`]]

Results:

-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

Budget

$0 per month—let's make that $500!

Learn more