我写的css是这样子的:.box1{border-bottom:1pxsolid#dcdddf;background:#ececec;padding-top:20px;width:535px;height:535px;overflow:hidden;float:left;margin-right:15px;margin-...
我写的css是这样子的:.box1{border-bottom: 1px solid #dcdddf; background: #ececec; padding-top: 20px;width:535px; height: 535px; overflow: hidden;float:left;margin-right:15px;margin-bottom:15px;}/*.box1{ width:500px;height:500px;margin:4px solid #666 ;float:left;background-color:#F00;padding:10px 20px 30px 40px;}*/.box2{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;float:left;background-color:#FF0;}.box3{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;float:left;background-color:#3FC;}.box4{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;float:left;background-color:#639;}.box5{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;float:right;background-color:#FF0;}.box6{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;float:right;background-color:#3FC;}.box7{ width:240px;height:240px; margin-right:15px; margin-bottom:15px;background-color:#639;float:right;}
展开