<!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;
}
.left {
width: 95%;
}
.box1,
.box2,
.box3 {
width: 100%;
height: 500px;
border: 1px solid gray;
margin-bottom: 100px;
}
.left {
float: left;
}
.box1 {
background-color: antiquewhite;
}
.box2 {
background-color: aqua;
}
.box3 {
background-color: aquamarine;
}
.aside {
heigh
JS小练————实现侧边栏及粘滞定位效果
最新推荐文章于 2023-03-12 20:33:48 发布