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

postcss-normalize-repeat-style

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-normalize-repeat-style

Convert two value syntax for repeat-style into one value.

  • 4.0.0-nightly.2020.8.25
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11M
increased by2.73%
Maintainers
4
Weekly downloads
 
Created

What is postcss-normalize-repeat-style?

The postcss-normalize-repeat-style npm package is a PostCSS plugin designed to normalize repeat styles in CSS. This includes simplifying repeat style values in background and background-image properties to use the shorthand form when possible, improving both the readability and efficiency of the CSS.

What are postcss-normalize-repeat-style's main functionalities?

Normalize repeat styles for background

This feature automatically converts longhand repeat styles for the background property into their shorthand form, making the CSS cleaner and more concise.

"background: repeat no-repeat" becomes "background: repeat-x"

Optimize background-image repeat styles

For background images with repeat styles, this plugin optimizes the declaration by merging them into a single, shorthand property, enhancing the efficiency of the CSS.

"background-image: url('image.png'); background-repeat: repeat no-repeat" becomes "background: url('image.png') repeat-x"

Other packages similar to postcss-normalize-repeat-style

FAQs

Package last updated on 25 Aug 2020

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