6.0.5 • Published 9 days ago

postcss-merge-longhand v6.0.5

Weekly downloads
8,499,823
License
MIT
Repository
github
Last release
9 days ago

postcss-merge-longhand

Merge longhand properties into shorthand with PostCSS.

Install

With npm do:

npm install postcss-merge-longhand --save

Example

Merge longhand properties into shorthand; works with margin, padding & border. For more examples see the tests.

Input

h1 {
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
}

Output

h1 {
    margin: 10px 20px;
}

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-uikafirchain-tetrislitepie-datepicker-gabejesusdemong-search-dropdownnka-gantt-task-reactmggauharmicroend-componentjulien-easy-modalmy-library-buttonnewdemo1m2m-chartjs-plugin-crosshairnois-react-toastmavectra@vasosolo/multiselectcombobox@southcn/ckeditor5-build-inline@the91end/react-auth@tillschweneker/ckeditor5-build-strapi-wysiwyg-markdown@tomw2w/my-nuxt-layer@skeetboothppq/component-library@silver0542/directus-extension-cma-components-editor@stansaal/ckeditor5-custom-build@syedsadiqali11/emoji-mart@tamland/postcss-config@sak1sham/react-toc-highlight@taymoon/ckeditor5-custom-build@terraeclipse/crs-build@zalastax/nolb-postcss-m@vue-helper/vue-keep-aliveained-ckeditor5@zebracompany/f_editor@aristidenf/streak-counter@arkasuryawan/m2-interface@artiso-solutions/vue-html-to-paperappcharge-checkoutappcharge-checkout-reactjs-sdkap-vue-captcha@aabelmann/ui-layer@contagt/metismenucompo-cli@darwishdev/dash-dev@bezael-challenge/innoit-date-formatcarousel-react@carhoo/widget-dealersnuxtpaginationsprasadacmpostcss-arrangeposthtml-postcss-merge-longhandreact-dottiereact-lightbox-pack-18supportp147-tablep148-tablereact-solid-gradient-pickerpickupbiz-npm-packagesearch-input-reactsearch-list-reactsequelcomponentvformlmqverify-img-codevirtual-tour-guidevue-compmenttestujsk_custom_ckeditor5testapavue-button-test1type-libaryvue3-google-login-with-statetohsaka888-use-breakpointuxun-cssnanotingzi-vuepresssummerseatestltaman-baca-masyarakatsticky-scroll-catchstories-react-bdstock-ticker-react-widgetstyle-guide-mainstyle-checkresponsis-gantt-task-reactreactofy-css-libraryremap-cssreact-ang-notifications-honey-comb-setupchain_diggerckeditor-5-imi-1ck-wy
6.0.5

9 days ago

6.0.4

23 days ago

6.0.3

1 month ago

6.0.2

3 months ago

6.0.1

4 months ago

6.0.0

1 year ago

5.1.7

1 year ago

5.1.5

2 years ago

5.1.6

2 years ago

5.1.4

2 years ago

5.1.3

2 years 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.11

5 years ago

4.0.10

5 years ago

4.0.9

5 years ago

4.0.8

5 years ago

4.0.7

5 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 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

3.0.0

7 years ago

2.0.2

7 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago