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

Trouble when using RBGA in Radial Gradient #125

Open
thehung2224 opened this issue Jul 29, 2014 · 0 comments
Open

Trouble when using RBGA in Radial Gradient #125

thehung2224 opened this issue Jul 29, 2014 · 0 comments

Comments

@thehung2224
Copy link

I'm having a bit of trouble with RGBA when using with Radial Gradient. I'm using LESSHat 3.

.background-image(
    radial-gradient(circle farthest-corner at center center, 
        rgba(85,85,85, 0.3) 0%, 
        rgba(81,81,81,0.3) 50%, 
        rgba(0,0,0,0.5) 100%)
);

When checking CSS with Firebug, it like this

background-image: 
    radial-gradient(circle farthest-corner at center center , 
        rgba(85, 85, 85, 0) 0%, 
        rgba(81, 81, 81, 0) 50%, 
        #000000 100%
    );

But when using with interpolation, everything works fine.

.background-image(~"
    radial-gradient(circle farthest-corner at center center, 
        rgba(85,85,85, 0.3) 0%, 
        rgba(81,81,81,0.3) 50%, 
        rgba(0,0,0,0.5) 100%)"
);

Hope everyone can give me advice for this issue. Thank in advance.

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