clip 属性定义了元素的哪一部分是可见的。clip 属性只适用于 position:absolute 的元素。

rect(<top>, <right>, <bottom>, <left>)   /* 标准语法 */
rect(<top> <right> <bottom> <left>) /* 向后兼容语法 */

<top> 和 <bottom> 指定相对于盒子上边框边界 的偏移,<right> 和 <left> 指定了相对于盒子左边框边界 的偏移。<top>, <right>, <bottom>, 和 <left> 的值可以是 <length> 值或 auto。

 

相关文章:

  • 2021-04-07
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-07-30
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案