Applied grid in css