[EN] Flexbox中flex:1代表什么?

Resolvidas Por yujian999 2026-09-06 09:31 Visualizações 3408
[EN] Flexbox中flex:1代表什么?

Responder

Total 2 respostas
Melhor Resposta
yujian47000
yujian47000 · 2026-08-11 12:31
flex:1等于flex:1 1 0%,等分剩余空间。
yujian47
yujian47 · 2026-03-28 22:31
position:sticky在滚动到指定位置前是static,到达后变为fixed。需设置top。

Responder

forum_login_to_reply_hint

Entrar para Responder