查看div内部对象的一部分? [英] View part of the object inside div?

查看:142
本文介绍了查看div内部对象的一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好
如何在div或其他元素中显示对象的一部分?

描述

help.jpg

推荐答案

喜欢这个:



Like this:

<div style="border: 1px solid red; height:200px; width:400px; z-index:2; top:100px; left:200px; position:absolute; ">
</div>
<div style="border: 1px solid black; height:200px; width:100%;z-index:1; background-color:white; position:absolute;">

</div>
<div style="border: 1px solid Green; height:200px;  width:100%;z-index:3; top:200px; background-color:white; position:absolute; ">

</div>


这篇关于查看div内部对象的一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆