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

CSS selector for current item #36

Open
mhjb opened this issue Mar 17, 2022 · 1 comment
Open

CSS selector for current item #36

mhjb opened this issue Mar 17, 2022 · 1 comment

Comments

@mhjb
Copy link

mhjb commented Mar 17, 2022

Is there such a thing?
I'd like to reduce opacity for every cover except the currently focused one…

@mhjb
Copy link
Author

mhjb commented Mar 17, 2022

Meantime I'm using something like

.coverflow { 
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 80%, rgba(0,0,0,0.25) 100%);
}

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

No branches or pull requests

1 participant