CSS improvement using transform rules