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 online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
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)