css-value-type

get types of CSS properties

Usage no npm install needed!

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

README

css-value-type Build Status

get types of CSS properties

Installation

$ npm install css-value-type

Usage

var getType = require('css-value-type')

getType('10vh') // 'length'
getType('rgb(255, 0, 0)') // 'color'

License

The MIT License (MIT)

Copyright (c) 2015 Masaaki Morishita