7.0.0 • Published 2 days ago

postcss-merge-rules v7.0.0

Weekly downloads
8,500,656
License
MIT
Repository
github
Last release
2 days ago

postcss-merge-rules

Merge CSS rules with PostCSS.

Install

With npm do:

npm install postcss-merge-rules --save

Examples

This module will attempt to merge adjacent CSS rules:

By declarations

Input

a {
    color: blue;
    font-weight: bold
}

p {
    color: blue;
    font-weight: bold
}

Output

a,p {
    color: blue;
    font-weight: bold
}

By selectors

Input

a {
    color: blue
}

a {
    font-weight: bold
}

Output

a {
    color: blue;
    font-weight: bold
}

By partial declarations

Input

a {
    font-weight: bold
}

p {
    color: blue;
    font-weight: bold
}

Output

a,p {
    font-weight: bold
}

p {
    color: blue
}

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

cssnano-preset-defaultvuedragdropuploadimagescloud-archive-s3bb-chat@fundefund/funde_ckgql_din_mod@olivervorasai/slidercogoportutils@infinitebrahmanuniverse/nolb-postcss-m@saaspe/componentsexpand-react-bridgesklif-ui-kitsklif-api@everything-registry/sub-chunk-2461@314oner_npm/universal-components-libraryp149-tabletest-popupssklif-uivue-button-test1webdesa-laravel-final-releaseza-webpack-openplatformvue3-google-login-with-statevue-compmentvirtual-tour-guide@gotoeasy/csjs@graines-digitales/nice-handsome-button@heml/styles@greminder/bootstrap-material-design@hoaitt/ckeditor5-build-classic-mention@luciadias/storybook-notimationtingzi-vuepresstohsaka888-use-breakpointtheme-creator-clitheme-generator-webpack-plugintheme-switcher-clitestapatestujsk_custom_ckeditor5ut-webpackvformlmquxun-cssnanotype-libaryverify-img-code@junvary/quasar-ui-qcascader@juanzenn/ckeditor5-custom-build@juanaraneta/dept-central-lib-client@kommunicate/kommunicate-chatbot-plugin@knooks/use-titleex-ikon-components-library@kristoffertonning/vue-laravel-errors@leiyulf/gantt-task-reactfhir2@hproinformatica/functionseasyplayer-my@humanity.cash/typesember-bedrock@mayuriachewad/pickupbiz-npm-package@meysam213/react-leaflet@mfauzanap_pandacss/coreflowable-bpmn-modelergenerator-bootstrap-boilerplate-templategarnish-ui@ngxvoice/ngx-voicelistner@newsteam/postcss-configgerimismalamsenin@img-arena/img-ui-mui-theme@img-arena/ui-corees-react-bridge@rgbyk/color@refactorpro/pixi-virtual-joystick@sak1sham/react-toc-highlight@ozancakir/ckeditor5-build-inline-balloon@pandacss/core@harsha-jalan/ckeditor5-custom-build@hazyflame/vue-jitsi-meetemr-tabulator-tablesendpoint-react-ui-kit@itsridhopratama/taman-baca-masyarakat@ikon-x/ckeditor5-custom-build-for-irrosoftera-ckeditor5@itayn-fireberry-org/itayn-testhot-zone-vue@percent/percent-api-hookshantil-css@oriduk/ckeditor5-rebuild-musicanote@oriduk/ckeditor5-rebuild-oriduk@purnasatria/directus-extension-document-interface@fabwcie/ckeditor5-preview@silver0542/directus-extension-cma-components-editor@southcn/ckeditor5-build-inlinejesusdemo@skeetboothppq/component-libraryjulien-easy-modal@tomw2w/my-nuxt-layer@tillschweneker/ckeditor5-build-strapi-wysiwyg-markdown@syedsadiqali11/emoji-mart@tamland/postcss-config@the91end/react-auth@stansaal/ckeditor5-custom-build@terraeclipse/crs-buildkafirchain-tetris
7.0.0

2 days ago

6.1.1

1 month ago

6.1.0

2 months ago

6.0.4

2 months ago

6.0.3

4 months ago

6.0.2

4 months ago

6.0.1

12 months ago

5.1.4

1 year ago

6.0.0

1 year ago

5.1.3

1 year ago

5.1.2

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

5.0.6

2 years ago

5.0.5

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

5.0.0-rc.2

3 years ago

5.0.0-rc.1

3 years ago

5.0.0-rc.0

3 years ago

4.0.3

5 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

4.0.0-rc.2

7 years ago

4.0.0-rc.0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.11

7 years ago

2.0.10

8 years ago

2.0.9

8 years ago

2.0.8

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.3.6

9 years ago

1.3.5

9 years ago

1.3.4

9 years ago

1.3.3

9 years ago

1.3.2

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago