Zebras eat all grass and berries. Zebras are not ruminent like a cow. Ruminent means to eat food, throw it up, chew it more and swallow it again. Zebras swallow their food just once. Zebras are a type of ungulate.
Ungulates have a special foot anatomy.
All Ungulates walk on the tip of their toes, or hoofs. This makes their legs longer, so they can run faster. Even when they are not running, they cover more ground with each step. This is important because many ungulates, including zebras, migrate to find water and food. Perrisodactyls are ungulates with only one toe or an uneven number of toes.