Comments (4)
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.
Hey again,
I looked at it and I think I understood your problem.
I think what you need to do is as follows:
-
import
clip-path-polygon
:<script src="https://cdn.rawgit.com/andrusieczko/clip-path-polygon/master/build/clip-path-polygon.min.js"></script>
-
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.
Hi @j4rk0r,
Can I close this issue?
Cheers,
Karol
from clip-path-polygon.
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)
- Support different clip-paths on different elements HOT 2
- Percentages in clip-path HOT 8
- Not supporting safari 5.1 version HOT 3
- 2 polygon in the same page HOT 5
- Any future support for Internet Explorer or Edge browsers? HOT 5
- 401 - Unauthorized: Access is denied due to invalid credentials. HOT 3
- Bower HOT 4
- clip-path-polygon transitions HOT 9
- Value point with percentage and px HOT 2
- typeof syntax error HOT 3
- Generated svg add empty space after all content HOT 10
- svg display: none breaking clip in FF OSX HOT 3
- Upgrade chrome 55 breaks script HOT 1
- Webpack issue - "Critical dependency: require function is used in a way in which dependencies cannot be statically extracted" HOT 7
- Internet Explorer (IE) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip-path-polygon.