Git Product home page Git Product logo

Comments (4)

andrusieczko avatar andrusieczko commented on June 21, 2024

Hey @j4rk0r,

I'm not sure if I understood your problem, you're probably not cutting the image at all or...

Anyway, I guess there's no problem with the library itself, right?

If you have a problem how to design your website, then I recommend stackoverflow.com. If there's something wrong with the library, I'll fix it here.

If there's no issue with clip-path-polygon itself, I'm gonna close the issue.

Regards,
Karol

from clip-path-polygon.

andrusieczko avatar andrusieczko commented on June 21, 2024

Hey again,

I looked at it and I think I understood your problem.

I think what you need to do is as follows:

  1. import clip-path-polygon:

    <script src="https://cdn.rawgit.com/andrusieczko/clip-path-polygon/master/build/clip-path-polygon.min.js"></script>
    
  2. put this code somewhere:

    jQuery(".commerce-product-field").clipPath([[666,0],[55.7,0],[0,302.6],[721.7,302.6]])
    

Then you'll hopefully understand how clipping the mask works.

Please confirm there's no issue with the library, so that I can close the issue.

Cheers,
Karol

from clip-path-polygon.

andrusieczko avatar andrusieczko commented on June 21, 2024

Hi @j4rk0r,

Can I close this issue?

Cheers,
Karol

from clip-path-polygon.

andrusieczko avatar andrusieczko commented on June 21, 2024

Hi @j4rk0r,

As I haven't heard from you since October, I'm closing this issue.

Cheers,
Karol

from clip-path-polygon.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.