adding CSS for map function