css tranformation breaks layouts

use css styling on container instead