Adjusting matrix with CSS code