DEV Community

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

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

Hmmm, can this be pollyfilled in anyway?

EDIT: found a good solution to use it in older browsers via sass

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