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

How to use mix function of css in styled? #3177

Open
hangry-bird opened this issue Apr 13, 2024 · 0 comments
Open

How to use mix function of css in styled? #3177

hangry-bird opened this issue Apr 13, 2024 · 0 comments

Comments

@hangry-bird
Copy link

The problem

I'm converting CSS to styled components.

I was using mix() in CSS.

But mix() doesn't apply in styled components.

example)

const Styled... = styled.div`
  background-color: mix(red, blue, 0.5);
`

this code not working

Proposed solution

Apply mix() in styled

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

No branches or pull requests

1 participant