如何让一个选项固定不动?看这里
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.in{
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<!--
<div style="border: 1px solid red;width: 100px; height: 300px;">
<div class="in" style="background-color: purple;"></div>
<div class="in" style="background-color: green;position: fixed;right: 10px;bottom: 10px;"></div>
<div class="in" style="background-color: blue;"></div>
</div>
-->
<div style="border: 1px solid red;width: 300px; height: 300px;position: ;">
<div class="in" style="background-color: purple;"></div>
<div class="in" style="background-color: green;position: absolute;bottom: 10px;"></div>
<div class="in" style="background-color: blue;"></div>
</div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</body>
</html>