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

Resueltas Por yujian999 2026-09-06 09:31 Vistas 3400
[EN] Flexbox中flex:1代表什么?

Responder

Total 2 respuestas
Mejor respuesta
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

Inicia sesión para responder