تماشای این درس نیاز به اشتراک حرفه‌ای دارد.

Using minmax Column Widths7:32

This is a function that takes two values. The first value is the minimum width of the column we need. We can use something like, say, 9rem. That is sufficient to fit the content without overflow. And the second value being the maximum width of the column. Let's say about 16rem. Similarly, we will have to replace this 1fr also with the same min-max value. Min-max 9rem and 16rem. This makes sure that the column is neither narrower than 9rem nor wider than 16rem. Now let's check.

max-contentmin-contentfit-contentminmax

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟