added css & html for grid