Jump to content
Search Community

mapps-video

Members
  • Posts

    15
  • Joined

  • Last visited

Community Answers

  1. mapps-video's post in Image slide animation and clip-path issue was marked as the answer   
    Thank you all for your responses. 
     
    Indeed mask seems to work better than clip. 
     
    Here is my solution:

    See the Pen OWgBVG by klodoma (@klodoma) on CodePen
     
    The trick is: "create the mask" BEFORE the item transformation. It seems quite important, otherwise the getBBox() returns the transformed values. The item transformation is applied also to the mask itself.
×
×
  • Create New...