adding grid.css from class