<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
#header,
#banner,
#main1,
#main2,
#main3,
#main4,
#footer
{
width: 1200px;
margin: 0px auto;
}
#header{
height: 300px;
background-color: #f00;
}
#banner{
height: 500px;
background-color: #ff0;
}
#main1{
height: 500px;
background-color: #f0f;
}
#main2{
height: 500px;
【原生态JS实现楼层导航案例】
于 2022-09-18 16:28:03 首次发布