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

爱⌒轻易说出口 提交于 2019-11-29 09:24:43

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);.

It would seem that the suggestion by @web-tiki with:

width:33.33%;

is the best option.

Better option:

li {
    &:last-child {
        margin-right: -1px;
    }
}

And you can use: width: calc(100% / 3)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!