While you can achieve this in stylus like this:
transition()
fix_transform($values, $vendor)
$new_values = ()
if match(',', '%s' % $values)
for $val in $values
if length($new_values) > 0
$new_values = $new_values, fix_transform($val, $vendor)
else
$new_values = fix_transform($val, $vendor)
else
for $val in $values
$new_val = $val
if $val == transform
$new_val = unquote($vendor + $new_val)
push($new_values, $new_val)
return $new_values
for $vendor in ('-webkit-' '-moz-' '-ms-' '-o-' '')
{$vendor}transiton: fix_transform(arguments, $vendor)
I'd recommend you not to use Stylus itself to add prefixes, but to use a specialized tool like autoprefixer for this.
There is actually a Stylus autoprefixer plugin — that would be the best to use with Stylus.