-
Notifications
You must be signed in to change notification settings - Fork 65
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
Addition of radial gradients? #68
Comments
i'd be happy to see radial in here.. |
I'll be on this right after I finish my current project! |
we need to add this in bros |
patches welcome. :) |
Very much needed!!!! |
example less mixin: .radial(@innerColor: #555, @outerColor: #333) {
background-color: @outerColor;
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
background-image: -moz-radial-gradient(circle, @innerColor, @outerColor);
background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
background-repeat: no-repeat;
} |
then for IE you use a div: #ie-radial {
position: absolute;
background: #fff; /* color you want for gradient */
top: 50%;
left: 50%;
margin-top: -100px;
margin-left: -100px;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100, finishopacity=0, style=2);
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might be a good idea to add radial gradients to the current collection. No current support for Opera, FF < 3.6 and IE < 10 but how about just adding a fallback to linear gradients?
References:
The text was updated successfully, but these errors were encountered: