Posted 3 months ago. Visible to the public. Linked content.

IE11 ignores calc() functions in the flex shorthand

Example (broken in IE):

Copy
flex: 0 1 calc(50% - 20px)

Workaround:

Copy
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

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
Dominik Schöler
Last edit:
3 months ago
by Dominik Schöler
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more