一、CSS部分:
* {
padding: 0;
margin: 0;
}
#small img {
width: 300px;
height: 200px;
display: block;
}
#small {
width: 300px;
height: 200px;
border: 1px solid #efefef;
float: left;
position: relative;
margin: 100px;
}
#move {
width: 100px;
height: 100px;
background: rgba(233,23,45,0.3);
position: absolute;
left: 0;
top:0;
/display: none;/
}
#big {
width: 700px;
height: 500px;
float: left;
margin: 100px;
border: 1px solid #efefef;
position: relative;
overflow: hidden;
/display: none;/
}
#big_pic {
position: absolute;
left:0;
top:0;
}
二、HTML页面
三、JavaScript部分:
博客主要围绕前端页面实现展开,包含CSS部分的样式设置,如对图片、容器的宽高、边框、定位等样式定义;还提及了HTML页面和JavaScript部分,但未给出后两者具体内容,整体聚焦于前端页面的构建。
496

被折叠的 条评论
为什么被折叠?



