A hinge includes: a base seat; two slide seats that are mounted on the base seat, that are movable between an inner position and an outer position, and that each have a slide rail portion; two rotary members that each have a slide portion being in sliding contact with the slide rail portion of a respective slide seat, and that are respectively rotatable relative to the slide seats; and two coupling mechanisms that are connected between the rotary members and the slide seats, such that rotations of the rotary members drive the slide seats to move between the inner position and the outer position. A distance between the slide seats decreases when the slide seats move from the outer position to the inner position.