CSS Masking: clipPath with CSS Transforms and 2nd content element svg CSS Transforms must apply on the clipPath element. This example adds a second content element since that may cause masking in some implementations. A green square should be visible.