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