#first { width: 100px; height: 100px; background: red; } #first #second{ width: 50%; height: 50%; background: green; }