Web features explorer

fit-content()

Limited availability

The fit-content() CSS function, used outside of a grid layout property, clamps a length between min-content and max-content.

Browser support

  • Chrome Not supported Bugs: 40847362
  • Chrome Android Not supported
  • Edge Not supported
  • Firefox Not supported
  • Firefox for Android Not supported
  • Safari Not supported
  • Safari on iOS Not supported

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.