Jump to main content Jump to doc navigation

prefix

Other versions: 2.x (current) — Found a problem? Please edit this page or report an issue.

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;