Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Mask features not working or not correctly working #7398

Open
InsaneSaintGamer opened this issue Jan 17, 2025 · 0 comments
Open

[UI] Mask features not working or not correctly working #7398

InsaneSaintGamer opened this issue Jan 17, 2025 · 0 comments

Comments

@InsaneSaintGamer
Copy link

InsaneSaintGamer commented Jan 17, 2025

Describe the bug

mask-position, mask-position-x, and mask-position-y seem not to work at all, they don't move the mask. While mask-angle is working, the angle is wrong. What I mean is when I give it 160% it will look like it's 180% rotated.

To Reproduce

This is my SCSS code
	.Button {
		width: 357px;
		height: 99px;
		background-color: green;
		color: white;
		font-size: 36px;
		font-weight: bold;
		justify-content: center;
		position: relative;
		align-items: center;
		mask-image: linear-gradient(black, transparent);
		mask-mode: alpha;


		&:hover {
			// mask-position-x: 50%;
			// mask-angle: 160%;
		}
	}

Expected behavior

The mask position needs to move the mask and mask angle just needs to display the correct rotation.

Media/Files

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant