We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What I have:
rgba(255,255,255,1)
What I've got:
What I want:
rgb(255,255,255)
The text was updated successfully, but these errors were encountered:
That's not a safe conversion in itself, it could be used like this:
.foo { color: red; color: rgba(255,255,255,1); }
if someone would like to use it as a hack to provide different colors to different browsers. I didn't see anyone do this, it still could be possible.
However, in some places it could be minified properly, like in gradients, CSS3 properties and in similar places.
Ah, and rgba(255,255,255,1) would be minified to #FFF :)
#FFF
Sorry, something went wrong.
I believe nobody use it as a hack. Only very old browsers don't support for rgba. And better use some other more universal hacks for those browsers.
rgba
convert rgba with 1 as alpha value to rgb (issue #122)
5d5de30
Now csso converts rgba(255,255,255,1) to #fff.
csso
#fff
No branches or pull requests
What I have:
What I've got:
What I want:
The text was updated successfully, but these errors were encountered: