怎么对png文件设置渐变
CSS gradients are a hot topic right now and why shouldn't they be? CSS gradients save time by not making you create an image, they save a request to that image, and the code to create them is smaller than the image's file size. If you've been using image-based gradients and are looking to move your web apps to CSS-based gradients, there's a great new project aimed at automating PNG gradients into CSS gradients called pngtocss
. pngtocss
is easy to obtain, configure, and use!
CSS渐变现在是一个热门话题,为什么不应该呢? CSS渐变通过不创建图像来节省时间,它们将请求保存到该图像,并且创建它们的代码小于图像的文件大小。 如果您一直在使用基于图像的渐变,并且希望将您的Web应用程序移动到基于CSS的渐变,那么有一个伟大的新项目旨在将PNG渐变自动转换为称为pngtocss
CSS渐变。 pngtocss
易于获取,配置和使用!