clip Property


Home > Document > CSS > Positioning > clip

clip Propety

clip Property´Â Positioning µÈ 4°¢Çü Block Box¸¦ ÁöÁ¤ÇÏ´Â ¼öÄ¡¸¸Å­ °¡·Á¼­ ¾È º¸À̵µ·Ï ÇØ ÁÖ´Â PropertyÀÔ´Ï´Ù. clip µÇ´Â Box´Â ¹Ýµå½Ã { position : absolute }·Î ÁöÁ¤µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.

  [Ç¥ º¸´Â ¹æ¹ý]
clip Property
Value <shape> | auto | Inherit
Initial auto
Applies to block-level and replaced elements
Inherited no
Percentages N/A
Media Visual
HTML Syntax { clip: sClip }
Scripting object.style.clip [ = sClip ]




CSS Scripting
onMouseOver="this.style.clip='rect(auto)';" *¸ðµç clipÀ» Á¦°ÅÇÒ ¶§´Â auto ÇÑ ¹ø¸¸ ÁöÁ¤ÇÑ´Ù.


clip PropertyÀÇ »ç¿ë°ª
  • auto
    Ãʱ⠰ªÀ¸·Î¼­ clipÀÌ µÇ¾î¼­ °¡·ÁÁö´Â ºÎºÐÀÌ ¾øÀÌ ¸ù¶¥ º¸¿©ÁÖ°í, 4¸éÀ» ¸ðµÎ auto·Î ÁöÁ¤ÇÒ ¶§´Â auto ÇÑ ¹ø¸¸ ÁöÁ¤ÇØ ÁÖ¸é µË´Ï´Ù.


  • shape
    rect(top right bottom left) ·Î ÁöÁ¤ÇÕ´Ï´Ù. rect´Â rectangularÀÇ ¾àÀÚ·Î 4°¢ÇüÀ̶ó´Â ¶æ ÀÔ´Ï´Ù. ±×·±µ¥ ¿©±â¼­ ÁöÁ¤ÇÏ´Â °ªÀÌ ¾à°£ Çò°¥¸®¹Ç·Î ÁÖÀÇÇØ¾ß µË´Ï´Ù.
    top : ÁöÁ¤ÇÑ ±æÀ̸¸Å­ À§¿¡¼­ ¾Æ·¡·Î °¡·Á¼­ ¾È º¸ÀÔ´Ï´Ù.
    right : ÁöÁ¤ÇÑ ±æÀ̸¸Å­ ¿ÞÂÊ¿¡¼­ ¿À¸¥ÂÊÀ¸·Î º¸¿© ÁÝ´Ï´Ù.
    bottom : ÁöÁ¤ÇÑ ±æÀ̸¸Å­ À§¿¡¼­ ¾Æ·¡·Î º¸¿© ÁÝ´Ï´Ù.
    left : ÁöÁ¤ÇÑ ±æÀÌ ¸¸Å­ ¿ÞÂÊ¿¡¼­ ¿À¸¥ÂÊÀ¸·Î °¡·Á ÁÝ´Ï´Ù.

  • ¾Æ·¡´Â top, right, bottom, left¸¦ °¢°¢ 15px ¾¿ clip Çß½À´Ï´Ù. Mouse¸¦ ±×¸² À§¿¡ ¿Ã¸®¸é ¼³¸í±ÛÀÌ ³ª¿À´Ï±î Âü°í ÇϽÃÁ®.
clip:rect(auto)
Auto
clip:rect(15px auto auto auto)
Top
clip:rect(auto 15px auto auto)
Right
clip:rect(auto auto 15px auto)
Bottom
clip:rect(auto auto auto 15px)
Left







¼Ò½º º¸±â




ÀÌ ¹®¼­ÀÇ ÀúÀÛ±ÇÀº www.cadvance.org ¿¡ ÀÖ½À´Ï´Ù.

Top
Back
New
°Ë»ö