I want to expand div parent with child div but I don\'t know if that\'s possible and how to do it.
Your problem is this:
div.two { background-color: green; width: 120%; }
You are telling the child to be 120% the width of the parent, which is to say, the entire width plus 20% more. Make it 100% and you should get the expected result..