css-ie-vars-support

Client-side css variables support for IE

Usage no npm install needed!

<script type="module">
  import cssIeVarsSupport from 'https://cdn.skypack.dev/css-ie-vars-support';
</script>

README

CSS IE vars support

Client-side css variables support for IE

*this code is a replicate of the answer from https://stackoverflow.com/a/47097746

Usage

  1. copy the css-ie-vars-support.min.js file from project's node_modules/css-ie-vars-support/dist directory.

  2. on html <head>, add:

<script src="<path>/css-ie-vars-support.min.js"></script>
  1. run cssVarsPoly.init() after the css inclusion.