New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-gap

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-gap

PostCSS plugin to create fallbacks for the css properties row-gap, column-gap and gap.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
263
decreased by-15.97%
Maintainers
1
Weekly downloads
 
Created
Source

PostCSS Gap Build Status

PostCSS plugin to create fallbacks for the css properties row-gap, column-gap and gap..

See the current css spec for further details.

.foo {
    gap: 3vmin 2vmax;
    row-gap: 1em;
}

[column-gap] {
    column-gap: initial;
}

.foo {
    grid-gap: 3vmin 2vmax;
    grid-row-gap: 1em;
}

[column-gap] {
    grid-column-gap: initial;
}

Usage

/* default usage, with no options (method = replace) */
postcss([ require('postcss-gap') ])
/* add the fallbacks right before, but keep the original css props (row-gap, column-gap and gap)*/
postcss([ require('postcss-gap') ])({ method: 'duplicate' })

See PostCSS docs for examples for your environment.

Keywords

FAQs

Package last updated on 23 Aug 2017

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