-
Notifications
You must be signed in to change notification settings - Fork 3.4k
coloralpha #531
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
Comments
It's called |
Nice ! Maybe it would be better to use 0-1 based value if their is no '%' char (like some standard css property : opacity, rgba, shla, gradient...) exemple : fade(red,25%) = fade(red,0.25) |
yea, good idea, will look into that. |
Hmm, I'm completely agree with topic starter. It is good to see this issue answered. Not having a simple alpha function is a pain. Here's two things I want to note (imo):
For now when I want to mix alpha in color I'm using something (not so pretty construction) like this: rgba(red(@color), green(@color), blue(@color), @opacity) Thanks. I'll look into this thread sometimes. |
@StreetStrider see
|
@seven-phases-max, thanks, I didn't notice that before, only |
hi,
I suggest a 'coloralpha' function to add alpha channel to color :
exemple :
LESS input :
CSS output :
actualy I need to do this ugly workaround :
The text was updated successfully, but these errors were encountered: