question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for clip-path

See original GitHub issue

It seems that clip-path is not currently supported. Is there any plan to implement it?

I found this 2 related issues (closed), in which more people expressed their interest in this function:

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:20
  • Comments:13

github_iconTop GitHub Comments

2reactions
joswhitecommented, Mar 11, 2021

In my testing I’ve noticed clip-path works fine for SVGs, as long as the reference is internal (e.g. clip-path: url(#clipPathId) instead of clip-path: url(https://this.website.url.com#clipPathId)). Haven’t tried to get CSS clip-path working but this could be a valid workaround.

1reaction
xicondcommented, Mar 17, 2021

I still cannot make it work even it’s reference to internal

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS clip-path property (for HTML) | Can I use... Support tables ...
Support refers to the clip-path CSS property on HTML elements specifically. Support for clip-path in SVG is supported in all browsers with basic...
Read more >
clip-path - CSS: Cascading Style Sheets - MDN Web Docs
The clip-path CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the...
Read more >
clip-path - CSS-Tricks
The clip-path property in CSS allows you to specify a specific region of an element to display, with the rest being hidden (or...
Read more >
path() support in clip-path CSS property
The path() function, as used in clip-path, allows specifying SVG-style paths for clipping. Without it, the user has to do one of the...
Read more >
Introduction to Clipping Using clip-path in CSS - DigitalOcean
clip-path makes it easy to clip-out basic shapes using either of the polygon , ellipse , circle or inset keywords, which are part...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found