所以我有這個網格:+---------+------------------------------+---------+ | <div> | <p> - 1000 characters long | <div> |+---------+------------------------------+---------+里面p有沒有空格的超長字符串。divs是具有固定尺寸的占位符。這將產生以上結果: display: grid; grid-auto-flow: column; grid-template-columns: auto minmax(0, 1fr) auto;但是更改minmax(0, 1fr)為1fr:+---------+----------------------------------------+ | <div> | <p> - 1000 characters long | <div> |+---------+----------------------------------------+它溢出其父級,超出屏幕大小。為什么它的行為不像minmax?
- 2 回答
- 0 關注
- 1216 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消