Add CSS masks support