首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
flexbox 计算 flex item 总和超出容器宽度的官方公式是什么
CoooolChan
·
2014-11-26 02:01:25 +08:00
· 2397 次点击
这是一个创建于 3594 天前的主题,其中的信息可能已经有所发展或是发生改变。
网上找了一圈没找到靠谱的,我在chrome上自己算了下,当设置flex-shrink>=1的时候,并且设置了flex-basis,要计算的一个flex item的宽度是它的flex-basis-(超出宽度)*(flex-shrink*flex-basis/容器下所有flex-item的flex-basis*flex-shrink的和),有官方简单易懂说明吗
目前尚无回复
flex
shrink
item
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2406 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 01:27
·
PVG 09:27
·
LAX 18:27
·
JFK 21:27
Developed with
CodeLauncher
♥ Do have faith in what you're doing.