Copy CSS as JavaScript (Chrome Canary 98)

There is a really neat feature coming our way, given you want to style elements in JS using Hype. It is backed into the upcoming Chrome (and Edge). It allows copying CSS declarations as a JavaScript notation and use them in Hype Functions. Just take a look:

Watch the full announcement here.

2 Likes

This news update by the Chrome Dev Team inspired the following: