@import "compass"; @import "compass/reset"; body { width: 100%; overflow: hidden; } #doc { position: absolute; width: 100%; height: 100%; overflow: hidden; } #doc #hd { height: 140px; position: fixed; top: 0; width: 100%; } #doc #bd { border-top: solid 140px transparent; height: 100%; @include box-sizing(border-box); } .doc-main { margin: 0 auto; height: 100%; overflow: auto; } .doc-t1 .doc-main { width: 90%; } .doc-t2 .doc-main { width: 80%; }