Welcome, Guest

Author Topic: CSS Masks  (Read 315 times)

davshoward

  • Posts: 3
    • View Profile
CSS Masks
« on: March 20, 2018, 06:58:41 PM »
Hi there,

Are CSS masks supported on Coherent GT using an SVG as an alpha? (e.g. -webkit-mask)?

Cheers

Tony

  • Administrator
  • *****
  • Posts: 28
    • View Profile
CSS Masks
« Reply #1 on: March 27, 2018, 10:06:41 AM »
Hey,

The CSS masks are indeed supported in Coherent GT. You can apply alpha masks using SVG/PNG or other images that have a transparent background with the -webkit-mask/-webkit-mask-image CSS properties.

I'm attaching a small sample to illustrate this.

Hope it helps.

Tony,
Support Engineer at Coherent Labs

Tags: CSS masks Webkit