So, I use getPropertyValue() quite often to read some value from CSS custom properties. But I fail when it contains one of those awesome #CSS values, like clamp() or max().
Is there a way in #javascript to somehow get the computed, calculated pixel value of something like this?
Background here is that I am working with a javascript library that requires some things to be set in pixel values, but I work with fluid values all throughout the site.
Thomas Michael Semmler
Thomas Michael Semmler
npub1lpjs...5j0h
Hi hello yes, I am a Developer focused on #a11y, HTML & CSS. Very queer, radical faerie 🏳️🌈. Musician and systemic psychosocial counsellor.
I am a strong enthusiast for the Web Platform, and what it stands for: openness, accessibility, empowerment, de-marginalisation. I sometimes blog on my website.
Contact me for counselling. I specialise in issues relevant to queer people and creative professionals.
Website: https://helloyes.dev
SVG Patterns: https://patterns.helloyes.dev
Counselling (in german): https://thomassemmler.com
Longest ride today

