0.3.0 • Published 8 years ago

style-inject v0.3.0

Weekly downloads
288,113
License
MIT
Repository
github
Last release
8 years ago

style-inject

NPM version NPM downloads CircleCI donate chat

Inject style tag to document head.

Installation

npm install style-inject

Example

import styleInject from 'style-inject';
const css = `
  body {
    margin: 0;
  }
`;
styleInject(css, options);

Options

insertAt

Type: string Possible values: top Default: undefined

Insert style tag to specific position of head element.

License

MIT © EGOIST

@bbakcode/test-ui-systemvuedragdropuploadimagescloud-archive-s3untitled-test-ui-kit-besvovashltui-libshlttest-lib@yujinpan/common-modules@fishbot/test-react-ui@olivervorasai/slidercogoportutils@fishbot/prismic@fishbot/test-com@saaspe/components@wnp/notifyexpand-react-bridge@everything-registry/sub-chunk-2840@oaoong/design-system-libraryp149-tabledankook-council-logintest-popups@99mini/atomic-mini-componentmeeting-component-libraryatk-misecomparison-tablewjc-easy-element-ui-nextwodax-rollup-plugin-postcss-umivue-button-test1wemixplay-uiwemachatbotwidgetpackagex-vue-acestorybook-addon-playgroundstories-react-bdv-titlevenus-scriptsvs-tree-plus@bung87/rollup-plugin-postcss@benjamin-vanryseghem/rollup-plugin-postcssjest-transform-lessjest-transform-scssjest-transform-styljest-transform-cssjest-transform-css-postcss-8jys-test-library111jpaas-amis-theme-editor-helperhummingbird-componentgoodformshongsi-uihighlight-vuehantil-csslitepie-datepicker-gabemavectra@webbio/rollup-plugin-postcss-webbio@wmslei78/first-component@vue-helper/vue-keep-alive@tuliu/tuliu-base-map@tomo-inc/tomo-evm-kit@viewfly/devtools@vibe/core@yangxinhao/image-preview-vue2@xbotvn/mui@xbotvn/react-ui@youngme92/react@ykominami/xcompaiden-ui-scssamis-theme-editor-helper-test2amis-theme-editor-helperap-vue-captchaaqueduct-widgetappcharge-checkoutappcharge-checkout-vuejs-sdkappcharge-checkout-vuejs-test-sdk@goldenplanet/vebto-pixie@atomintl/aui-next@atomintl/exchange-ui@itayn-fireberry-org/itayn-test@itcode-dev/alpaca-ui@itcode-dev/react-components-library-starter@itandu/core-frontend@graines-digitales/nice-handsome-button@0x000fe/test@ehrocks/rollup-plugin-postcss-fork@contentful/experiences-components-react@contentful/experiences-sdk-react@contentful/experiences-visual-editor-react@contentful/experience-builder@contentful/experience-builder-components@contentful/experience-builder-visual-editor@cromwell/core-frontend@aloasdev/react-modal@colys/amis-theme-editor-helper@alfalab/rollup-plugin-postcss@hazyflame/vue-jitsi-meetatomic-mini-componentga-custom-react-sortable-treestyle-loader2spoty-fire-uisuha-libraryssw.rules.widgettype-libary@bbakcode/brixplayer-ui
0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.11

10 years ago

0.0.1

10 years ago