An electronic device includes a group of first cards and a group of second cards, wherein the group of first cards and the group of second cards are arranged orthogonally. An air path extends between a front part and a rear part of a chassis and a fan is positioned on at least one side of the group of second cards. An opening is formed in a second card to connect an air inlet of the fan with the air path extending between the front part and the rear part of the chassis.