2016-11-16 193 views

回答

0

把頭元素的「容器流體」元素之前:

body 
    header 
    container 
0

更新您的page-wrap類元素

.page-wrap { 
    min-width: 100%; 
    min-height: 100%; 
    position: relative; 
    top: 0; 
    bottom: 100%; 
    z-index: 1; 
} 

爲了防止頁面的滾動當導航打開時:

.page-wrap-menu { 
    transform: translateX(-360px); 
    position: fixed; 
    width: 100%; 
    height: 100%; 
} 
+0

謝謝你。唯一的事情是我需要主站點滾動和菜單固定 –