rework-math
Do some math in your Rework CSS files.
yields:
rework-vars
using
yields:
Of course using rework-vars requires you to run the vars function first.
Rendering the correct units
Just add the unit you want at the end of the function. Like so:
yields:
How about Percent?!
Ummm, not ready yet! Right now you will have to divide any number that needs to be a percent by 100. So in the following example you want to know what 33% of 100 is. You need to multiply 100 by 0.33%. We add the %
so that we get the right unit at the end.
yields:
License
MIT