Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #693158

    Hello,

    I want to give angled edges effect to my background image like this tutorial : https://www.viget.com/articles/angled-edges-with-css-masks-and-transforms

    When i give this code ( -webkit-clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); this works fine

    but clip-path and webkit do not work at least at chrome, can i do something for this?

    Code
    .angledEdges{
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    -webkit-backface-visibility: hidden; (do not work)

    }

    Best Regards

    Cihan

    • This topic was modified 8 years, 2 months ago by cbehen.
    #693268

    Hey Cihan,

    Seems to be working for me. Try clearing your browser’s cache and refreshing the page.

    Also you may want to add the property:

    backface-visibility: hidden;

    Add that to your above code as well and let me know if you need further assistance.

    Best regards,
    Jordan

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.