Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-minify-gradients

Package Overview
Dependencies
Maintainers
7
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-gradients

Minify gradient parameters with PostCSS.

  • 7.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10M
decreased by-11.03%
Maintainers
7
Weekly downloads
 
Created

What is postcss-minify-gradients?

The postcss-minify-gradients npm package is a plugin for PostCSS, a tool for transforming CSS with JavaScript. This plugin reduces the size of gradient definitions in CSS by converting linear-gradient and radial-gradient functions to their more concise forms when possible, thus optimizing the CSS for better performance.

What are postcss-minify-gradients's main functionalities?

Minify linear gradients

Converts verbose linear gradient definitions to shorter equivalents when possible, without changing the visual appearance of the gradient.

require('postcss-minify-gradients')

Minify radial gradients

Optimizes radial gradient definitions by simplifying their syntax and removing unnecessary parts.

require('postcss-minify-gradients')

Convert repeating gradients

Transforms repeating linear-gradient and repeating radial-gradient functions into their more compact forms if it results in smaller CSS size.

require('postcss-minify-gradients')

Other packages similar to postcss-minify-gradients

Keywords

FAQs

Package last updated on 24 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc