aaronm67 / gradientfinder Goto Github PK
View Code? Open in Web Editor NEWConvert Images to CSS Gradients
Home Page: http://gradientfinder.com
License: Other
Convert Images to CSS Gradients
Home Page: http://gradientfinder.com
License: Other
Should update the tool to use the new gradient syntax for the standard version. See:
http://www.sitepoint.com/using-unprefixed-css3-gradients-in-modern-browsers/
E.g. "top" keyword now becomes "to bottom".
Looks like it gets caught in some sort of infinite loop on this, per https://twitter.com/NuclearGhost/status/288317966213332993.
Hey, nice tool you got there :)
I just tried it out with a rather simple gradient I need to reproduce and it works fine, however it doesn't seem to recognize transparency and renders black instead.
Currently I'm getting
background: -webkit-linear-gradient(top, rgb(254, 234, 0) 0%, rgb(237, 194, 0) 60%, rgb(222, 158, 0) 72%, rgb(170, 85, 0) 91%, rgb(0, 0, 0) 100%);
background: -o-linear-gradient(top, rgb(254, 234, 0) 0%, rgb(237, 194, 0) 60%, rgb(222, 158, 0) 72%, rgb(170, 85, 0) 91%, rgb(0, 0, 0) 100%);
background: -ms-linear-gradient(top, rgb(254, 234, 0) 0%, rgb(237, 194, 0) 60%, rgb(222, 158, 0) 72%, rgb(170, 85, 0) 91%, rgb(0, 0, 0) 100%);
background: -moz-linear-gradient(top, rgb(254, 234, 0) 0%, rgb(237, 194, 0) 60%, rgb(222, 158, 0) 72%, rgb(170, 85, 0) 91%, rgb(0, 0, 0) 100%);
background: linear-gradient(to bottom, rgb(254, 234, 0) 0%, rgb(237, 194, 0) 60%, rgb(222, 158, 0) 72%, rgb(170, 85, 0) 91%, rgb(0, 0, 0) 100%);
As the result.
Using Chrome 27 on OS X 10.8
http://imageshar.in/img/GbT3t7Nx.png
This gradient should have 2 stops (black at 100% alpha, and 0% alpha), but instead we find 0 stops with black at 100% alpha.
This is pretty much the only thing blocking version 1.0.
I'm guessing it should have a gradient in it.
keep it up ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.