postcss-calc

  • Version 9.0.1
  • Published
  • 151 kB
  • 2 dependencies
  • MIT license

Install

npm i postcss-calc
yarn add postcss-calc
pnpm add postcss-calc

Overview

PostCSS plugin to reduce calc()

Index

Variables

variable postcss

var postcss: boolean;

    variable postcss

    var postcss: boolean;

      Functions

      function pluginCreator

      pluginCreator: typeof pluginCreator;
      • {import('postcss').PluginCreator}

        Parameter opts

        {import('postcss').Plugin}

      Type Aliases

      type PostCssCalcOptions

      type PostCssCalcOptions = {
      precision?: number | false;
      preserve?: boolean;
      warnWhenCannotResolve?: boolean;
      mediaQueries?: boolean;
      selectors?: boolean;
      };

        Package Files (1)

        Dependencies (2)

        Dev Dependencies (8)

        Peer Dependencies (1)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-calc.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/postcss-calc)
        • HTML
          <a href="https://www.jsdocs.io/package/postcss-calc"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>