freeCodeCamp/guide/chinese/certifications/responsive-web-design/css-flexbox/use-the-flex-shrink-propert.../index.md

7 lines
293 B
Markdown

---
title: Use the flex-shrink Property to Shrink Items
localeTitle: 使用flex-shrink属性收缩项目
---
## 使用flex-shrink属性收缩项目
使用`flex-shrink` ,数字越大,收缩越多。对于这个挑战,在你给出正确的值后,你应该看到`#box-1`比`#box-2`宽。