<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body{
font-size:80px;
margin:0;
padding:0;
}
.fl{
float:left;
width: 70%;
height: 2210px;
background: pink;
}
.fr{
float:right;
width: 29%;
height: 1000px;
background: cyan;
}
</style>
</head>
<body>
<div class="fl">左边
<div style="color:red">1</div>
<div style="color:orange">2</div>
<div style="color:red">3</div>
<div style="color:orange">4</div>
<div style="color:red">5</div>
<div style="color:blue">6</div>
<div style="color:orange">7</div>
<div style="color:red">8</div>
<div style="color:oran
jquery+css实现滚动固定侧边栏
最新推荐文章于 2022-07-17 17:44:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)