.header{ position:fixed; margin-top:0; width:100%; z-index:9999; } .body{ position:relative; padding-top:119px; width:100%; } .top{ position: fixed; top: 0px; z-index:9999; }
.header{ position:fixed; margin-top:0; width:100%; z-index:9999; } .body{ position:relative; padding-top:119px; width:100%; } .top{ position: fixed; top: 0px; z-index:9999; }
转载于:https://www.cnblogs.com/SofuBlue/p/11320940.html