Blogger Information
Blog 87
fans 0
comment 0
visits 59317
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
第八节课作业:3.固定定位
黄忠倚的博客
Original
540 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>4.固定定位</title>
	<style type="text/css">
		body {
			height: 2000px;

		}
		div {
			overflow: hidden;
		}
		.box {
			width: 200px;
			height: 200px;
			background-color: lightskyblue;
			position: fixed;
			top: 200px;
			left: 30px;
		}
		
	</style>

</head>
<body>
	<div class="box"><img src="http://mi-888.com/PHP/zuoye/20180326/qqol.jpg" width="400"></div>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post