dynamicsss

Manage CSS style sheets with javascript

Usage no npm install needed!

<script type="module">
  import dynamicsss from 'https://cdn.skypack.dev/dynamicsss';
</script>

README

Unlimited React components logologo

license npm latest package npm latest package dependencies tests Dependabot Status

Total alerts Language grade: JavaScript Known Vulnerabilities PRs Welcome

Description

With DinamiCSS you can manage CSS style sheets dynamically

Installation

DinamiCSS is available as an npm package.

// with npm
npm i dynamicss

Main Features:

  • Insert style sheets from javascript files.
  • Edit stylesheets at run-time.
  • Remove style sheet.

Usage (basic example)

Here is a quick example to get you started, it's all you need:

Interactive and live demo:

Edit Button

In this example we are telling the drop zone:

Props (all are optional)

| Name | Description | Default | | - | - | - | | style | Object that contains the main styles for the component. | themeColor:#ff6c37, backgroundImage:"https://www.postman.com/assets/use-cases-by-role.svg" |

License

This project is licensed under the terms of the MIT license.