demo/bundle.js
// Determine whether the current browser supports CSS properties.
Determine whether the current browser supports CSS properties.
Determine whether the current browser supports CSS properties .
function supportsCssCustomProperties(globalObj = window) {
              if ('CSS' in globalObj) {
                return globalObj.CSS.supports('(--color: red)');
              }
              return false;
            }
function supportsCssCustomProperties ( globalObj = window ) { if ( 'CSS' in globalObj ) { return globalObj . CSS . supports ( '(--color: red)' ) ; } return false ; }
Determine whether the current browser supports CSS properties.
Determine whether the current browser supports CSS properties .