Applying transforms on elements