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

Transparent Background #19

Open
benjaminprojas opened this issue May 1, 2015 · 2 comments
Open

Transparent Background #19

benjaminprojas opened this issue May 1, 2015 · 2 comments

Comments

@benjaminprojas
Copy link

When trying to use transparently, most of these loaders do not work well. Any chance they could be tweaked to work in a transparent environment?

@lukehaas
Copy link
Owner

Only two of the loaders require a solid background colour, loaders 2 and 3. There is really no way of avoiding this at the moment.
Ideally loader 3 could be achieved using border gradients but unfortunately border gradients can't be combined with border-radius.
Another alternative that would be nice to have is to use CSS masking to create an exclusion but that currently only works with images.

@chrisnicola
Copy link

You could try not setting the color in the box shadow property. It will default to the color of the element instead making it more flexible.

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

3 participants