add util method for applying css transforms