ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
| [DHTMLET®](http://www.dhtmlet.com) | [属性清单 ](#)| 相关内容:SEE ALSO------------------------------------------  overflow  overflow-x  overflow-y | |-----|-----| clip版本:CSS2  兼容性:IE4+ NS6+ 继承性:无   语法:   **clip : **** auto **|** rect (*** number number number number*** ) **   参数:   **auto : ** 对象无剪切 ** rect (*** number number number number*** ) : ** 依据上-右-下-左的顺序提供自对象左上角为(0,0)坐标计算的四个偏移数值,其中任一数值都可用auto替换,即此边不剪切   说明:   检索或设置对象的可视区域。区域外的部分是透明的。 必须将[position](#)的值设为absolute,此属性方可使用。 自IE5开始,此属性在MAC平台上可用。 对应的脚本特性为**clip**。请参阅我编写的其他书目。   示例:   div { position:absolute; width:60px; height:60px; clip:rect(0 20 50 10); } div { position:absolute; width:60px; height:60px; clip:rect(1cm auto 50px 10cm); }       苏沈小雨制作・保留所有权利 &copy2001 rain1977.comer . All rights reserved . Terms of Use .