<style> .box1{ width:150px; height:150px; background:green; } .box2{ width:230px; height:230px; background:blue; } </style>