CSS Grid Layout Tutorial: Using min-content with minmax function

Publicado el: 24 March 2019
en el canal de: nexTRIE
213
7

Responsiveness is important when developing modern website layouts, and that is why in this CSS Grid layout tutorial, I am going to show you how you can make use of the min-content value with the minmax() function that we covered in my last CSS tutorial, to dynamically resize your grid items.

When you use the min-content value to determine how your grid items can reduce in width, you are setting the threshold to the narrowest bit of content within your grid item. In this video, I am making examples with text content. Though I do not talk much about the max-content value in this video, it works pretty much the same as the min-content value, except that max-content does the opposite by taking into account the largest bit of content.

Minmax function in CSS (Grid layout examples):    • Minmax function in CSS (Grid layout e...  

Code on CodePen: https://codepen.io/isaacasante/pen/NX...


En esta página del sitio puede ver el video en línea CSS Grid Layout Tutorial: Using min-content with minmax function de Duración hora minuto segunda en buena calidad , que subió el usuario nexTRIE 24 March 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 213 veces y le gustó 7 a los espectadores. Disfruta viendo!