Read more

IE11 ignores calc() functions in the flex shorthand

Dominik Schöler
August 30, 2019Software engineer at makandra GmbH

Example (broken in IE):

flex: 0 1 calc(50% - 20px)
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

Workaround:

flex-basis: calc(50% - 20px)

flex-grow: 0 // Default, can be omitted for this example
flex-shrink: 1 // Default, can be omitted for this example
Posted by Dominik Schöler to makandra dev (2019-08-30 12:03)