DEV Community

loading...

Discussion on: Write Fewer Media Queries With the Clamp() CSS Function

Collapse
scriptedpixels profile image
👨🏾‍💻 Kam Banwait • Edited

Hmmm, can this be pollyfilled in anyway?

EDIT: found a good solution to use it in older browsers via sass bronco.co.uk/our-ideas/creating-a-...

Collapse
vtrpldn profile image
Vitor Paladini Author

The tricky part is that the browser also needs to support the vw. Which our old friend IE also doesn't and never will. :(

I believe the only way to polyfill it would be by using something with JS, like fittextjs.com/