libj-opacity-css

Creates a cross-browser style string, for a given opacity value __a float number between 0 and 1__

Usage no npm install needed!

<script type="module">
  import libjOpacityCss from 'https://cdn.skypack.dev/libj-opacity-css';
</script>

README

libj-opacity-css

Part of libj tools

Creates a cross-browser style string, for a given opacity value a float number between 0 and 1

Test

  • Run this in a separate command line to start node server
node server.js
  • Run one of the following to re-create bundles
npm run dev
npm run dev:watch
  • Navigate to http://localhost:3000

Build

npm run build
npm run build:watch

Make sure to test everything in all browsers (specially IE 10/11)