Hi @HugoGiraudel, thanks for your hint. I updated my Gist to better handle the unit conversion.
The only small issue I cannot solve is using '%'
for comparison as %
alone would lead to an Invalid CSS
error.
Hope I did it better this time.
Hi @HugoGiraudel, thanks for your hint. I updated my Gist to better handle the unit conversion.
The only small issue I cannot solve is using '%'
for comparison as %
alone would lead to an Invalid CSS
error.
Hope I did it better this time.