You can use a Bourbon mixin here: http://bourbon.io/docs/#transform