A portable container, which contains a lower container body for storing a liquid, and an upper container body detachably connected to the lower container body. The upper container body adapted to store solid substance. The upper container body further contains a user-configurable opening device which is switchable between a first state and a second state. In the first state the opening device prevents the solid substance in the upper container body from falling into the lower container body. In the second state the opening device allows the solid substance to fall into the lower container body in order to mix with the liquid. The portable container not only separates the milk powder and warm water before brewing, but it also maintains the water at an appropriate temperature and to maintain the dryness of the milk powder. The warm water and the milk powder can then be mixed at any time to brew the milk suitable for drinking.