JavaScript wrangler.
Check out my books!
Web API Cookbook:
https://www.amazon.com/Web-API-Cookbook-JavaScript-Applications/dp/1098150694
Modern CSS:
https://www.amazon.com/dp/148426293X
One of my side projects is an emoji picker, and I use CSS variables to define the number of emojis per row and the number of visible rows. These can be passed as options to the JS, which then go and update the CSS variables!
Then the width/height/etc is all calculated based on those vars with the calc function.
Yup! Makes multiple themes etc. really easy!
One of my side projects is an emoji picker, and I use CSS variables to define the number of emojis per row and the number of visible rows. These can be passed as options to the JS, which then go and update the CSS variables!
Then the width/height/etc is all calculated based on those vars with the calc function.
github.com/joeattardi/emoji-button...