CSS Masking: clipPath with CSS Transforms on both content elements svg CSS Transforms must apply on both content elements of the clipPath element. A green square should be visible.