modified html and css for class