(a) In small amount, solution becomes milky due to the formation of calcium carbonate.
Ca(OH)2 + CO2 → CaCO3 + H2O.
(b) In excess, milkiness disappears because calcium carbonate changes to calcium hydrogen carbonate which is colourless in nature
CaCO3 + H2O + CO2 → Ca (HCO3)2