eleven_ty’s avatareleven_ty’s Twitter Archive—№ 8,946

  1. How to use @WebC_omponents to render custom build-time component CSS via JS (is this CSS-in-JS? 😅) —on 🎥 Eleventy Changelog №18, watch the full video: youtu.be/iZvhQ484V8s?t=1989
    1. …in reply to @eleven_ty
      @WebC_omponents A simpler version of this code works nicely too: <style @​html="#${uid} { --position: ${value}%; }"></style>