Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

About The Min/Max Function In CSS

A person shared a link to a tutorial about CSS grid. The link features more information about the min/max Function. The author felt like most articles are too generic and don't teach people how to properly use the function. In their opinion, the min/max function is both powerful and useful. For that reason, they thought that writing an entire guide just about this function would be good for CSS coders.

The goal of the CSS min/max function guide is to close the gap of knowledge about it. The author will dive into how, when and why a person should use it. They have a lot of examples and use color coding and notation in order to help the reader make sense of it. The article starts with a definition of what min/max is, then it quickly moves into its uses, proper syntax and more.

Readers of the discussion forum were invited to read the article and share their thoughts about it, and many of them did. One of them said that the guide was very cool. They saw the use for it even though they are not completely familiar with the min/max function at this time. They are starting a new CSS project and hope to check out the article.

Another person said it was very useful for creating a horizontal scrolling element. They recently used it to make a scrolling div for a product showcase. They found it to be a handy way to reduce the vertical scrolling length on their phone. They followed a guide on how to do it with live code pens.

A reader wanted to know if min/max is a function for shorthand of minimum width and maximum width. A person replied to them and said it is not. Min/max can only be used in CSS grid. With grid, the coder defines the size of all columns with a single property. The individual who asked the question replied and said they have used clamp for font sizes, but they think the min/max might be a good replacement. For more information click here https://ishadeed.com/article/css-grid-minmax/.



This post first appeared on Best Web Design Firms, please read the originial post: here

Share the post

About The Min/Max Function In CSS

×

Subscribe to Best Web Design Firms

Get updates delivered right to your inbox!

Thank you for your subscription

×