JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q47602F
  • License pemrouz.mit-license.org

Package Exports

  • rijs.precss

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rijs.precss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ripple | PreCSS

Coverage Status Build Status

Pre-applies CSS styles to a component before rendering it. Using the following syntax:

<component-name css="styles.css">

A style tag with the CSS styles from the specified resource will be added to the beginning of the Shadow Root

<style resource="styles.css"> /* ... */ </style>

If there is no Shadow DOM, the styles will scoped and added to the end of the document head. The style tags are deduped so there will only be one for each specfic CSS resource in use.

Multiple CSS modules are also possible:

<component-name css="component-styles.css fa-circle.css fa-square.css">