fonveton Posted July 27, 2022 Share Posted July 27, 2022 I'm using clip path to draw shapes but some of them leaves black traces behind. I tried changing clip path opacity, fill and stroke values but nothing changaes. What should do to solve this issue? Here is live link: https://demo.pentayazilim.net/daf-kilit/product.php SOLVED: Issue was missing fill on line. See the Pen MWVEREJ by manidar (@manidar) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted July 27, 2022 Share Posted July 27, 2022 It's super tough to troubleshoot a live site (please always include a minimal demo if you can), but it looks to me like you've got a default fill on those paths, so that black part you're seeing is just the fill. Try setting fill to none or transparent or something. Link to comment Share on other sites More sharing options...
fonveton Posted July 27, 2022 Author Share Posted July 27, 2022 17 minutes ago, GreenSock said: It's super tough to troubleshoot a live site (please always include a minimal demo if you can), but it looks to me like you've got a default fill on those paths, so that black part you're seeing is just the fill. Try setting fill to none or transparent or something. That doesnt seem to be problem. I added a minimal demo to codepen. Link to comment Share on other sites More sharing options...
Solution GreenSock Posted July 27, 2022 Solution Share Posted July 27, 2022 It doesn't look like you applied the fix at all. Here's a simple CSS rule: svg path.line, svg line.line { fill: none; } See the Pen eYMGojE by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now