“width: calc(100% / 3);” not working properly in any IE

后端 未结 3 1778
滥情空心
滥情空心 2020-12-19 00:01

I have a 3 column layout that should fill the whole screen so on my columns I am using:

width: calc(100% / 3);

So lets say for example my s

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-19 00:15

    Try width: calc(100% * 0.33333); to make sure float rounding errors err on the side of caution or width: calc((100% / 3) - 0.1px);.

提交回复
热议问题