效果可参考本站!
/*顶部导航固定css*/
header#header {
position: fixed;
z-index: 30;
}
#body {
padding-top: 4.5rem;
厉害