* { margin:0; padding:0; } body { font-family:'microsoft yahei'; background:#fff; overflow:hidden; } #demo1,#demo2 { width:1000px; height:40px; line-height:30px; margin:50px auto; overflow:hidden; background:#f60; color:#fff; padding:10px; box-sizing:border-box; } #demo2 { height:90px; } #demo2 a { display:block; text-decoration:none; color:#fff; } #demo3 { width:1000px; height:400px; overflow:hidden; background:#f60; color:#fff; margin:50px auto; padding:10px; box-sizing:border-box; }