a closure device for a container provided with at least three compartments open at the top of the container and angularly offset from one another around the container axis , including a cover mounted on top of the container , and presenting first and second dispensing openings , a cap covering the top of the container , enclosing the cover and provided with an outlet opening , and linkage connected between the cover and the cap for permitting the cap to rotate relative to the cover so that the outlet opening of the cap moves between the first and second dispensing openings and for causing the cap and cover to rotate as a unit when the cap outlet opening is aligned with one of the dispensing openings and the cap is rotating in the direction away from the other dispensing opening with respect to the angular path .