To rotate a gradient by 90 degrees, or from left to right, place 90deg before the colors.
90deg
Make sure to pick 90deg.