appplied CSS to grids